bufferlist: Initialize the GType cache for the bufferlist again
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 8 Aug 2010 15:57:52 +0000 (17:57 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 8 Aug 2010 15:57:52 +0000 (17:57 +0200)
This was accidentially removed with last commit.

gst/gstbufferlist.c

index 1da1491..239f0ce 100644 (file)
@@ -171,7 +171,10 @@ G_DEFINE_TYPE (GstBufferList, gst_buffer_list, GST_TYPE_MINI_OBJECT);
 void
 _gst_buffer_list_initialize (void)
 {
-  g_type_class_ref (gst_buffer_list_get_type ());
+  GType type = gst_buffer_list_get_type ();
+
+  g_type_class_ref (type);
+  _gst_buffer_list_type = type;
 }
 
 static void