diff --git a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c index 9017747c8d..29610bb9de 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c +++ b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c @@ -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);