mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
decodebin3: do not attempt to remove a null stream
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7605>
This commit is contained in:
parent
bb05e78349
commit
1d86761712
1 changed files with 2 additions and 1 deletions
|
@ -1911,7 +1911,8 @@ gst_decodebin_input_reset (DecodebinInput * input)
|
||||||
|
|
||||||
SELECTION_LOCK (dbin);
|
SELECTION_LOCK (dbin);
|
||||||
stream = find_input_stream_for_pad (dbin, idpad);
|
stream = find_input_stream_for_pad (dbin, idpad);
|
||||||
remove_input_stream (dbin, stream);
|
if (stream)
|
||||||
|
remove_input_stream (dbin, stream);
|
||||||
SELECTION_UNLOCK (dbin);
|
SELECTION_UNLOCK (dbin);
|
||||||
|
|
||||||
gst_object_unref (idpad);
|
gst_object_unref (idpad);
|
||||||
|
|
Loading…
Reference in a new issue