From 8541d6b9904f8382b53b3c856d80ba789d1ec0a4 Mon Sep 17 00:00:00 2001 From: Haihua Hu Date: Mon, 27 Mar 2023 11:18:09 +0800 Subject: [PATCH] decodebin3: fix hang issue when remove failing stream Need mark selection_update to true when update selection, otherwise, pipeline will not handle this selection update sometimes when this flag has been reset Part-of: --- subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c index 4c48e52ec1..f96d44cbf5 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c +++ b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c @@ -2312,6 +2312,7 @@ 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)); + dbin->selection_updated = TRUE; SELECTION_UNLOCK (dbin); reassign_slot (dbin, slot); } else {