qtdemux: Dump composition time offsets in trun as signed integers

Just like we do for ctts without regard of the version of the box.
Huge offsets are interpreted as negative offsets by qtdemux so this
works.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1294>
This commit is contained in:
Sebastian Dröge 2021-11-12 12:39:17 +02:00 committed by GStreamer Marge Bot
parent a6f3391c81
commit 93a10a4ba1

View file

@ -828,7 +828,7 @@ qtdemux_dump_trun (GstQTDemux * qtdemux, GstByteReader * data, int depth)
if (flags & TR_COMPOSITION_TIME_OFFSETS) {
if (!gst_byte_reader_get_uint32_be (data, &composition_time_offsets))
return FALSE;
GST_TRACE ("%*s composition_time_offsets: %u", depth, "",
GST_TRACE ("%*s composition_time_offsets: %d", depth, "",
composition_time_offsets);
}
}