qtmux: Lateness is in QT timescale, diff in GstClockTime

Print the right one in debug output to get meaningful numbers.
This commit is contained in:
Sebastian Dröge 2017-05-10 15:58:41 +02:00
parent 163b62fc25
commit 63492ee141

View file

@ -3119,7 +3119,7 @@ gst_qt_mux_update_edit_lists (GstQTMux * qtmux)
if (lateness > 0) {
GST_DEBUG_OBJECT (qtmux,
"Pad %s is a late stream by %" GST_TIME_FORMAT,
GST_PAD_NAME (qtpad->collect.pad), GST_TIME_ARGS (lateness));
GST_PAD_NAME (qtpad->collect.pad), GST_TIME_ARGS (diff));
atom_trak_set_elst_entry (qtpad->trak, 0, lateness, (guint32) - 1,
(guint32) (1 * 65536.0));