flvmux: Fix scale of time values in warning message
authorAndreas Frisch <afrisch@make.tv>
Fri, 15 Mar 2019 09:41:20 +0000 (10:41 +0100)
committerJan Alexander Steffens <jan.steffens@gmail.com>
Fri, 15 Mar 2019 09:55:32 +0000 (09:55 +0000)
gst/flv/gstflvmux.c

index 8d06d4d..f02c08d 100644 (file)
@@ -1172,8 +1172,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;