[0.11] gst-plugins-base: playsinkconvertbin: release extra ref on converter elements

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Thu Jan 12 04:58:26 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: 345b6a58f4e56f400f928d9dddd5da207cca2637
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=345b6a58f4e56f400f928d9dddd5da207cca2637

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Thu Jan 12 13:57:18 2012 +0100

playsinkconvertbin: release extra ref on converter elements

---

 gst/playback/gstplaysinkconvertbin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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);
 }
 



More information about the gstreamer-commits mailing list