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