summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-03 15:13:32 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-03 15:13:32 -0400
commitd5a87e4a338bc8595948efe5e23f3fb700cae30f (patch)
tree05bf2cc7d5c3d3aa1b1e55f4afb703199df7f812
parentdc1ca0fd9022215087aa4cd57a1d446899dc410b (diff)
downloadgstreamer-plugins-bad-d5a87e4a338bc8595948efe5e23f3fb700cae30f.tar.gz
hlssink: Let the bin manage the multifilesink
-rw-r--r--gst/hls/gsthlssink.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gst/hls/gsthlssink.c b/gst/hls/gsthlssink.c
index b6ba0e3d7..316dc25b5 100644
--- a/gst/hls/gsthlssink.c
+++ b/gst/hls/gsthlssink.c
@@ -69,17 +69,6 @@ static GstStateChangeReturn
gst_hls_sink_change_state (GstElement * element, GstStateChange trans);
static void
-gst_hls_sink_dispose (GObject * object)
-{
- GstHlsSink *sink = GST_HLS_SINK_CAST (object);
-
- if (sink->multifilesink)
- g_object_unref (sink->multifilesink);
-
- G_OBJECT_CLASS (parent_class)->dispose ((GObject *) sink);
-}
-
-static void
gst_hls_sink_finalize (GObject * object)
{
GstHlsSink *sink = GST_HLS_SINK_CAST (object);
@@ -121,7 +110,6 @@ gst_hls_sink_class_init (GstHlsSinkClass * klass)
element_class->change_state = GST_DEBUG_FUNCPTR (gst_hls_sink_change_state);
- gobject_class->dispose = gst_hls_sink_dispose;
gobject_class->finalize = gst_hls_sink_finalize;
gobject_class->set_property = gst_hls_sink_set_property;
gobject_class->get_property = gst_hls_sink_get_property;