If ever we do anything in mini_object_finalize, we should make sure the 4
core miniobject finalize methods chain back up again.
gst_caps_replace (&GST_BUFFER_CAPS (buffer), NULL);
- ((GstMiniObjectClass *)
- gst_buffer_parent_class)->finalize (GST_MINI_OBJECT_CAST (buffer));
+/* ((GstMiniObjectClass *) */
+/* gst_buffer_parent_class)->finalize (GST_MINI_OBJECT_CAST (buffer)); */
}
/**
gst_structure_free (event->structure);
}
- GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (event));
+/* GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (event)); */
}
static GstEvent *
gst_structure_free (message->structure);
}
- GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (message));
+/* GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (message)); */
}
static GstMessage *
gst_mini_object_finalize (GstMiniObject * obj)
{
/* do nothing */
+
+ /* WARNING: if anything is ever put in this method, make sure that the
+ * following sub-classes' finalize method chains up to this one:
+ * gstbuffer
+ * gstevent
+ * gstmessage
+ * gstquery
+ */
}
/**
gst_structure_free (query->structure);
}
- GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (query));
+/* GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (query)); */
}
static GstQuery *