gst/gstbuffer.c: Also do a g_type_class_ref() for the subbuffer type in the init function.

Original commit message from CVS:
* gst/gstbuffer.c:
Also do a g_type_class_ref() for the subbuffer type in
the init function.
This commit is contained in:
Tim-Philipp Müller 2007-09-11 18:59:09 +00:00
parent 0d3299c63b
commit 9299939987
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbuffer.c:
Also do a g_type_class_ref() for the subbuffer type in
the init function.
2007-09-11 Wim Taymans <wim.taymans@gmail.com>
* docs/gst/gstreamer-sections.txt:

View file

@ -142,6 +142,8 @@ _gst_buffer_initialize (void)
* see http://bugzilla.gnome.org/show_bug.cgi?id=304551 */
ptr = g_type_class_ref (GST_TYPE_BUFFER);
g_type_class_unref (ptr);
ptr = g_type_class_ref (_gst_subbuffer_type);
g_type_class_unref (ptr);
}
GType