summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-16 20:51:05 +0100
committerwm4 <wm4@nowhere>2013-11-16 21:46:17 +0100
commit0cdbc6db6ea1ee6cdeedec6c8bd84e692d5f82d3 (patch)
treecce849fb920883306fd1e7cc69bb5eb1cdd04f63 /demux/demux_mkv.c
parent7fbf87e6153d3fba64eae577605eac9ff4094b6c (diff)
downloadmpv-0cdbc6db6ea1ee6cdeedec6c8bd84e692d5f82d3.tar.bz2
mpv-0cdbc6db6ea1ee6cdeedec6c8bd84e692d5f82d3.tar.xz
demux_lavf: remove broken and commented byte based seeks
This was originally added for better seeking where libavformat's seek function won't work well: files with timestamp resets. In these cases, the code tried to calculate an average bitrate, and then do byte based seeks by multiplying the seek target time with the bitrate. Apparently this was unreliable enough that the code was just commented (and other parts became inactive). Get rid of it. Note that the player still does byte based seeks in these cases when doing percent-seeks.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions