summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-01-14 10:43:59 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2010-01-14 10:46:28 +0100
commit36fee21834b5038cc0f17e701557d6721374e70b (patch)
treee650dc94aed2a76050248edf9218541d7e3c6721
parent9eae49800c249b4e6f06372d97376ce2539626b0 (diff)
playbin2: fix pad ref leak
-rw-r--r--gst/playback/gstplaybin2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index a9f71f2e..a7f72709 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)