The convertion between bit and byte is 8 not 60.

Fixes wrong cursor key seek distances.

Originally committed as revision 21627 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Michael Niedermayer 15 years ago
parent f575f08ccb
commit 566cd2cba1
  1. 2
      ffplay.c

@ -2371,7 +2371,7 @@ static void event_loop(void)
}else
pos = url_ftell(cur_stream->ic->pb);
if (cur_stream->ic->bit_rate)
incr *= cur_stream->ic->bit_rate / 60.0;
incr *= cur_stream->ic->bit_rate / 8.0;
else
incr *= 180000.0;
pos += incr;

Loading…
Cancel
Save