From 345b6a58f4e56f400f928d9dddd5da207cca2637 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 12 Jan 2012 13:57:18 +0100 Subject: [PATCH] playsinkconvertbin: release extra ref on converter elements --- gst/playback/gstplaysinkconvertbin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/playback/gstplaysinkconvertbin.c b/gst/playback/gstplaysinkconvertbin.c index 572623e..692bb1b 100644 --- a/gst/playback/gstplaysinkconvertbin.c +++ b/gst/playback/gstplaysinkconvertbin.c @@ -189,6 +189,7 @@ gst_play_sink_convert_bin_remove_element (GstElement * element, GstPlaySinkConvertBin * self) { gst_element_set_state (element, GST_STATE_NULL); + gst_object_unref (GST_OBJECT_CAST (element)); gst_bin_remove (GST_BIN_CAST (self), element); } -- 2.7.4