qtdemux: Add support for version 1 cslg boxes
authorSebastian Dröge <sebastian@centricular.com>
Tue, 2 Nov 2021 15:41:01 +0000 (17:41 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 12 Nov 2021 17:51:03 +0000 (17:51 +0000)
commit284dd5443f8c21f767301fb0de141c24015e418e
treec076c512c3efc5ec6fe886ae4418fbf06080bf17
parent7f105a919a73e49b8210a7e40de2a148129ae065
qtdemux: Add support for version 1 cslg boxes

They use 64 bit fields instead of 32 bit.

Also parse offset as a signed integer (in both versions) and clamp it to
a positive value as negative values don't really interest us here.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1294>
subprojects/gst-plugins-good/gst/isomp4/qtdemux.c
subprojects/gst-plugins-good/gst/isomp4/qtdemux.h
subprojects/gst-plugins-good/gst/isomp4/qtdemux_dump.c