hlssink: don't unref ->multifilesink.

We gst_bin_add it to ourself so no need to unref in _dispose.
This commit is contained in:
Alessandro Decina 2012-09-09 21:56:43 +02:00
parent b46886643b
commit b9018b2870

View file

@ -72,9 +72,6 @@ gst_hls_sink_dispose (GObject * object)
{ {
GstHlsSink *sink = GST_HLS_SINK_CAST (object); GstHlsSink *sink = GST_HLS_SINK_CAST (object);
if (sink->multifilesink)
g_object_unref (sink->multifilesink);
G_OBJECT_CLASS (parent_class)->dispose ((GObject *) sink); G_OBJECT_CLASS (parent_class)->dispose ((GObject *) sink);
} }