isomp4/atoms: fix multiple stsd entries
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 6 Aug 2021 20:55:32 +0000 (22:55 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 20 Aug 2021 00:16:43 +0000 (00:16 +0000)
commite069824c7de530f8095fedce0820e846c72d466b
tree9b7330e5dc8bd303968831f97691ce4a7ba9cef5
parent2c6be7373f3213ef90a858504e7b981e8f94908d
isomp4/atoms: fix multiple stsd entries

stsd entries are serialized in reverse order (starting from
g_list_last()), and must be prepended to the entry list for their
index to be correct when referenced from stsc entries.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1047>
gst/isomp4/atoms.c