From 93a10a4ba1cca0d8d6d4d4296e882c1829077d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 12 Nov 2021 12:39:17 +0200 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/gst/isomp4/qtdemux_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux_dump.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux_dump.c index 7f1aaa5eab..e061c46cab 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/qtdemux_dump.c +++ b/subprojects/gst-plugins-good/gst/isomp4/qtdemux_dump.c @@ -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); } }