summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-04-08 02:47:02 +0300
committerUoti Urpala <uau@mplayer2.org>2011-04-08 02:47:02 +0300
commit511498818f3372a911ca142ab25f59bbb10d7e3f (patch)
tree21c06c32f6aa7c4a1d30bf05b71294a0b53cc16d /stream/stream_file.c
parentd4b5ee2cd55929f190fe626c6d74697709ae2858 (diff)
downloadmpv-511498818f3372a911ca142ab25f59bbb10d7e3f.tar.bz2
mpv-511498818f3372a911ca142ab25f59bbb10d7e3f.tar.xz
demux_lavf: disable support for byte-based seeking
libavformat returns nonsense per-stream bitrate values for some MPEG files (0 or many times higher than the overall bitrate of the file), which triggered the heuristic to enable byte-based seeking in demux_lavf and then made the byte-based seeks wildly inaccurate. Disable the support for byte-based seeks. This will avoid problems with files that have consistent timestamps, but on the other hand will completely break seeking in MPEG files that have timestamp resets. I'll probably add at least an option to manually enable byte-based seeking later.
Diffstat (limited to 'stream/stream_file.c')
0 files changed, 0 insertions, 0 deletions