mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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:
parent
d41997040b
commit
d5c0b3311b
1 changed files with 2 additions and 1 deletions
|
@ -200,8 +200,9 @@ gst_buffer_list_finalize (GstBufferList * list)
|
||||||
}
|
}
|
||||||
g_list_free (list->buffers);
|
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_CLASS (gst_buffer_list_parent_class)->finalize
|
||||||
(GST_MINI_OBJECT_CAST (list));
|
(GST_MINI_OBJECT_CAST (list));*/
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstBufferList *
|
static GstBufferList *
|
||||||
|
|
Loading…
Reference in a new issue