bufferlist: Don't chain up finalize to the parent class
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 6 Aug 2010 17:38:22 +0000 (19:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 6 Aug 2010 17:38:22 +0000 (19:38 +0200)
GstMiniObject::finalize does nothing and this prevents a
runtime-type-check cast and function call per buffer list.

gst/gstbufferlist.c

index 58d7730..1da1491 100644 (file)
@@ -200,8 +200,9 @@ gst_buffer_list_finalize (GstBufferList * list)
   }
   g_list_free (list->buffers);
 
+/* Not chaining up because GstMiniObject::finalize() does nothing
   GST_MINI_OBJECT_CLASS (gst_buffer_list_parent_class)->finalize
-      (GST_MINI_OBJECT_CAST (list));
+      (GST_MINI_OBJECT_CAST (list));*/
 }
 
 static GstBufferList *