summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-08-06 19:38:22 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-08-06 19:38:22 +0200
commitd5c0b3311b87381b0f741c142bee5c29f3605e70 (patch)
treedd5f849dc035230bff7c0c37a015fd0862b4b9e6
parentd41997040b0d17a579962ae6850e490cb8203503 (diff)
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.
-rw-r--r--gst/gstbufferlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstbufferlist.c b/gst/gstbufferlist.c
index 58d7730828..1da149182c 100644
--- a/gst/gstbufferlist.c
+++ b/gst/gstbufferlist.c
@@ -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 *