Commit d5c0b331 authored by Sebastian Dröge's avatar Sebastian Dröge

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.
parent d4199704
......@@ -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 *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment