Because of 2 pass nalu handling in decoder, link between slice header and SPS/PPS can be broken at the second pass if SPS/PPS got updated after slice header in the same AU Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4323 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8673>