decodebin3: Clear select streams seqnum when resetting

At this point there's definitely no pending select streams

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6270>
This commit is contained in:
Edward Hervey 2024-03-04 15:59:14 +01:00 committed by GStreamer Marge Bot
parent 344acfe4e8
commit e03e2308d7

View file

@ -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;