From e03e2308d7c65539110bfafc78e688d9c63dbc79 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 4 Mar 2024 15:59:14 +0100 Subject: [PATCH] decodebin3: Clear select streams seqnum when resetting At this point there's definitely no pending select streams Part-of: --- subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c index 35919def1c..0ba4ca91ee 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c +++ b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c @@ -692,6 +692,8 @@ gst_decodebin3_reset (GstDecodebin3 * dbin) g_list_free (dbin->to_activate); dbin->to_activate = NULL; + dbin->select_streams_seqnum = GST_SEQNUM_INVALID; + g_list_free (dbin->pending_select_streams); dbin->pending_select_streams = NULL;