summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-29 17:58:20 +0200
committerwm4 <wm4@nowhere>2014-09-29 18:06:44 +0200
commitb9e4eefdb1706c6a091fbf9cd04d89ab41370115 (patch)
tree5b31956533e3ae29c13642f8df1c9ccdc66d0655 /demux
parent6b9aee20bd02b572faac95ffab82214076a6fa7f (diff)
downloadmpv-b9e4eefdb1706c6a091fbf9cd04d89ab41370115.tar.bz2
mpv-b9e4eefdb1706c6a091fbf9cd04d89ab41370115.tar.xz
stream: don't drop buffers on failed seeks
Might matter when libavformat tries to do tiny seekbacks in an unseekable stream, and the seekback buffer isn't large enough. In this case, seeking would fail, and would drop the current buffer. The seekback would end up dropping future data. This change probably doesn't have any observable effects. libavformat normally has its own stream buffer, and demux_mkv.c tries carefully never to seek back.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions