From 63492ee141eb1e2ef611bb9bd00fd50cd40cff0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 10 May 2017 15:58:41 +0200 Subject: [PATCH] qtmux: Lateness is in QT timescale, diff in GstClockTime Print the right one in debug output to get meaningful numbers. --- gst/isomp4/gstqtmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index 0ceaaff010..c9fab7c12c 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -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));