[Bug 730914] mpegts lib : Ensure all functions/fields are introspectable and are not leaked

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 1 00:41:26 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730914
  GStreamer | gst-plugins-bad | git

--- Comment #9 from Stefan Ringel <mail at stefanringel.de> 2014-06-01 07:41:21 UTC ---
(In reply to comment #8)

> 
> And you need to expose the _free function for all the relevant descriptors
> instead of requiring people to use g_boxed_free(LET_ME_GUESS_THE_TYPE)

as macro, like this:

#define GST_MPEGTS_COMPONENT_DESCRIPTOR_FREE (res) gst_boxed_free
(GST_TYPE_MPEGTS_COMPONENT_DESCRIPTOR, res)

or as methode like this

gst_mpegts_component_descriptor_free (GstMpegTsComponentDescriptor * res)
{
  gst_boxed_free (GST_TYPE_MPEGTS_COMPONENT_DESCRIPTOR, res);
}

?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list