mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
playbin2: fix pad ref leak
This commit is contained in:
parent
9eae49800c
commit
36fee21834
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue