qtdemux: Parse ctts version
authorSebastian Dröge <sebastian@centricular.com>
Tue, 2 Nov 2021 15:43:17 +0000 (17:43 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 12 Nov 2021 17:51:03 +0000 (17:51 +0000)
commit767e8bf6687bc64620cef9c50966e09f8ec9cf0c
tree4acab78d13c2847300e105382c31d565d0a6d953
parent284dd5443f8c21f767301fb0de141c24015e418e
qtdemux: Parse ctts version

Negative composition time offsets are only allowed with version 1 of the
box, however we parse it as a signed value also for version 0 boxes as
unfortunately there are such files out there and it's unlikely to have
(valid) huge composition offsets.

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