qtmux: Lateness is in QT timescale, diff in GstClockTime
authorSebastian Dröge <sebastian@centricular.com>
Wed, 10 May 2017 13:58:41 +0000 (15:58 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 12 May 2017 10:08:18 +0000 (12:08 +0200)
Print the right one in debug output to get meaningful numbers.

gst/isomp4/gstqtmux.c

index 761278c..a635036 100644 (file)
@@ -2545,7 +2545,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));