qtdemux: Log cslg_shift that was determined

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

View file

@ -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