diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c index 6da479613d..b74f4ef150 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