flvmux: Fix scale of time values in warning message

This commit is contained in:
Andreas Frisch 2019-03-15 10:41:20 +01:00 committed by Jan Alexander Steffens
parent a676c17259
commit 3160713abf

View 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;