playbin2: fix pad ref leak

This commit is contained in:
Mark Nauwelaerts 2010-01-14 10:43:59 +01:00
parent 9eae49800c
commit 36fee21834

View file

@ -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)