Commit 31f36d80 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

avidemux: use frames, not bytes, for position query in VBR streams

Coverity 1139648
parent 42298f65
......@@ -466,7 +466,7 @@ gst_avi_demux_handle_src_query (GstPad * pad, GstObject * parent,
if (stream->is_vbr) {
/* VBR */
pos = avi_stream_convert_frames_to_time_unchecked (stream,
stream->current_total);
stream->current_entry);
GST_DEBUG_OBJECT (avi, "VBR convert frame %u, time %"
GST_TIME_FORMAT, stream->current_entry, GST_TIME_ARGS (pos));
} else if (stream->strf.auds->av_bps != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment