decodebin3: fix hang issue when remove failing stream
authorHaihua Hu <jared.hu@nxp.com>
Mon, 27 Mar 2023 03:18:09 +0000 (11:18 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 27 Mar 2023 23:51:53 +0000 (00:51 +0100)
commit8a340bcc051f92a50b414b89676de6db37af302a
treeee66b634579096141df7840135fe07e0c9a502f3
parent3c915cdca4b79bba1ad4905c5d72bd9c13018efa
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4284>
subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c