From 36fee21834b5038cc0f17e701557d6721374e70b Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 14 Jan 2010 10:43:59 +0100 Subject: [PATCH] playbin2: fix pad ref leak --- gst/playback/gstplaybin2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index a9f71f2e97..a7f72709b6 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -1558,6 +1558,8 @@ gst_play_bin_suburidecodebin_seek_to_start (GstElement * suburidecodebin) if (!gst_pad_send_event (sinkpad, event)) GST_DEBUG_OBJECT (suburidecodebin, "Seeking to the beginning failed!"); } + + gst_object_unref (sinkpad); } if (it)