From efb2b6d478cf37da7c18d0d752f83ebc4fbbe531 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 12 Nov 2021 17:59:22 +0200 Subject: [PATCH] qtdemux: Log cslg_shift that was determined Part-of: --- subprojects/gst-plugins-good/gst/isomp4/qtdemux.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c index 6da4796..b74f4ef 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c @@ -3463,6 +3463,9 @@ qtdemux_parse_trun (GstQTDemux * qtdemux, GstByteReader * trun, else stream->cslg_shift = 0; + GST_DEBUG_OBJECT (qtdemux, "Using clsg_shift %" G_GUINT64_FORMAT, + stream->cslg_shift); + /* Update total duration if needed */ check_update_duration (qtdemux, QTSTREAMTIME_TO_GSTTIME (stream, timestamp)); @@ -9526,6 +9529,9 @@ qtdemux_stbl_init (GstQTDemux * qtdemux, QtDemuxStream * stream, GNode * stbl) stream->cslg_shift = 0; } + GST_DEBUG_OBJECT (qtdemux, "Using clsg_shift %" G_GUINT64_FORMAT, + stream->cslg_shift); + /* For raw audio streams especially we might want to merge the samples * to not output one audio sample per buffer. We're doing this here * before allocating the sample tables so that from this point onwards -- 2.7.4