mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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))
|
if (!gst_pad_send_event (sinkpad, event))
|
||||||
GST_DEBUG_OBJECT (suburidecodebin, "Seeking to the beginning failed!");
|
GST_DEBUG_OBJECT (suburidecodebin, "Seeking to the beginning failed!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (sinkpad);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (it)
|
if (it)
|
||||||
|
|
Loading…
Reference in a new issue