From 11b1f70aeaf51ca0f3ff5c5879f5574389a52d32 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 12 Mar 2024 16:36:36 +0100 Subject: [PATCH] decodebin3: Remove failing stream from active selection also It gets added in get_output_slot() Part-of: --- subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c index 8db01fb36f..8991e6faf1 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c +++ b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c @@ -2449,6 +2449,9 @@ check_slot_reconfiguration (GstDecodebin3 * dbin, MultiQueueSlot * slot) slot->dbin->requested_selection = remove_from_list (slot->dbin->requested_selection, gst_stream_get_stream_id (slot->active_stream)); + slot->dbin->active_selection = + remove_from_list (slot->dbin->active_selection, + gst_stream_get_stream_id (slot->active_stream)); no_more_streams = slot->dbin->requested_selection == NULL; dbin->selection_updated = TRUE; SELECTION_UNLOCK (dbin);