In qtdemux_parse_traf(), the loop over sbgp atoms used FOURCC_sgpd instead of FOURCC_sbgp when retrieving the next sibling node. This caused the loop to either terminate early or attempt to parse sgpd atoms as sbgp, leading to incorrect or incomplete seig group associations. This fix ensures that all sbgp atoms are properly parsed in sequence. Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4511 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9318>