[gst-devel] gst caps
Tim-Philipp Müller
t.i.m at zen.co.uk
Mon Mar 1 09:46:27 CET 2010
On Mon, 2010-03-01 at 13:55 +0530, vineeth wrote:
> I am a newbie to gst ( and gobject ). While writing a gst app and
> debugging a refcount problem, I see that for GstCaps, gst_caps_unref()
> is used, while for
> other objects like GstElement, gst_object_unref() is used. Why is it
> like this, doesn't every object inherit from GObject by default? Pls
> share your insights.
GstCaps is more of a refcounted C structure, it's not supposed to be
subclassed (outside of GStreamer), so not a full object for a reason.
Other object types used in GStreamer are GstMiniObjects (buffers,
events) and GObjects (elements, etc.).
Cheers
-Tim
More information about the gstreamer-devel
mailing list