static void gst_decodebin3_dispose (GObject * object);
+static void gst_decodebin3_finalize (GObject * object);
static void gst_decodebin3_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec);
static void gst_decodebin3_get_property (GObject * object, guint prop_id,
GstBinClass *bin_klass = (GstBinClass *) klass;
gobject_klass->dispose = gst_decodebin3_dispose;
+ gobject_klass->finalize = gst_decodebin3_finalize;
gobject_klass->set_property = gst_decodebin3_set_property;
gobject_klass->get_property = gst_decodebin3_get_property;
}
static void
+gst_decodebin3_finalize (GObject * object)
+{
+ GstDecodebin3 *dbin = (GstDecodebin3 *) object;
+
+ g_mutex_clear (&dbin->factories_lock);
+ g_mutex_clear (&dbin->selection_lock);
+ g_mutex_clear (&dbin->input_lock);
+
+ G_OBJECT_CLASS (parent_class)->finalize (object);
+}
+
+static void
gst_decodebin3_set_property (GObject * object, guint prop_id,
const GValue * value, GParamSpec * pspec)
{