mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
avidemux: use frames, not bytes, for position query in VBR streams
Coverity 1139648
This commit is contained in:
parent
42298f65e8
commit
31f36d805a
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ gst_avi_demux_handle_src_query (GstPad * pad, GstObject * parent,
|
||||||
if (stream->is_vbr) {
|
if (stream->is_vbr) {
|
||||||
/* VBR */
|
/* VBR */
|
||||||
pos = avi_stream_convert_frames_to_time_unchecked (stream,
|
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_DEBUG_OBJECT (avi, "VBR convert frame %u, time %"
|
||||||
GST_TIME_FORMAT, stream->current_entry, GST_TIME_ARGS (pos));
|
GST_TIME_FORMAT, stream->current_entry, GST_TIME_ARGS (pos));
|
||||||
} else if (stream->strf.auds->av_bps != 0) {
|
} else if (stream->strf.auds->av_bps != 0) {
|
||||||
|
|
Loading…
Reference in a new issue