diff options
author | wm4 <wm4@nowhere> | 2013-07-12 23:11:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-12 23:11:04 +0200 |
commit | 666cb2dac257f29fd375efa6bb81a6f4443f8f8c (patch) | |
tree | 30da69ba5de0f967d0fe15fd1bd0f143f873dcc2 /demux | |
parent | 32b828e442a933ad0c06d0b8d167db0f7d1b1e75 (diff) | |
download | mpv-666cb2dac257f29fd375efa6bb81a6f4443f8f8c.tar.bz2 mpv-666cb2dac257f29fd375efa6bb81a6f4443f8f8c.tar.xz |
mplayer: remove generic duration calculation
This was useless for anything but the raw demuxers. In most cases, this
would most likely lead to display of bogus duration values, because the
bitrates used are per-track, not the total file bitrate. There was
actually no case left where this code was helpful.
Note that demux_lavf has its own code for this using the total file
bitrate. Also, mplayer.c can calculate the playback percentage from
current file position / current file size. This is not removed.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions