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>
Wed, 10 May 2017 13:58:41 +0000 (15:58 +0200)
Print the right one in debug output to get meaningful numbers.

gst/isomp4/gstqtmux.c

index 0ceaaff..c9fab7c 100644 (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));