bufferlist: Don't chain up finalize to the parent class

GstMiniObject::finalize does nothing and this prevents a
runtime-type-check cast and function call per buffer list.
This commit is contained in:
Sebastian Dröge 2010-08-06 19:38:22 +02:00
parent d41997040b
commit d5c0b3311b

View 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 *