summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Frisch <afrisch@make.tv>2019-03-15 10:41:20 +0100
committerTim-Philipp Müller <tim@centricular.com>2019-05-06 23:43:07 +0200
commitc8ef081d315d0942eac31480c2db44618e7492d2 (patch)
treec1eab776cba49c37a3db357db5ea2df6bb4b38e4
parent5cb8e913db402580db0cda93f85f5dae4368c7fe (diff)
downloadgstreamer-plugins-good-c8ef081d315d0942eac31480c2db44618e7492d2.tar.gz
flvmux: Fix scale of time values in warning message
-rw-r--r--gst/flv/gstflvmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c
index 4446c6ea4..c6bbade25 100644
--- a/gst/flv/gstflvmux.c
+++ b/gst/flv/gstflvmux.c
@@ -1078,8 +1078,8 @@ gst_flv_mux_buffer_to_tag_internal (GstFlvMux * mux, GstBuffer * buffer,
*/
if (dts < mux->last_dts) {
GST_WARNING_OBJECT (pad, "Got backwards dts! (%" GST_TIME_FORMAT
- " < %" GST_TIME_FORMAT ")", GST_TIME_ARGS (dts),
- GST_TIME_ARGS (mux->last_dts));
+ " < %" GST_TIME_FORMAT ")", GST_TIME_ARGS (dts * GST_MSECOND),
+ GST_TIME_ARGS (mux->last_dts * GST_MSECOND));
dts = mux->last_dts;
}
mux->last_dts = dts;