diff options
author | wm4 <wm4@nowhere> | 2016-01-12 23:49:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-12 23:49:00 +0100 |
commit | e420464ba693a5920d4dc172b3f7e9a0c725e3d4 (patch) | |
tree | e149445377e94da3274f7d3f588449ed24ece3c1 /demux/demux_lavf.c | |
parent | 6fc0fe4426c1b71630d281cbc9e0406f8ad7deee (diff) | |
download | mpv-e420464ba693a5920d4dc172b3f7e9a0c725e3d4.tar.bz2 mpv-e420464ba693a5920d4dc172b3f7e9a0c725e3d4.tar.xz |
player: simplify backstepping
Basically reimplement it. The old implementation was quite stupid, and
was probably done this way because video filtering and output used to be
way less decoupled. Now we can reimplement it in a very simple way: when
backstepping, seek to current time, but keep the last frame that was
supposed to be discarded when reaching the target time. When the seek
finishes, prepend the saved frame to the video frame queue.
A disadvantage is that the new implementation fails to skip over
timeline boundaries (ordered chapters etc.), but this never worked
properly anyway. It's possible that this will be fixed some time in the
future.
Diffstat (limited to 'demux/demux_lavf.c')
0 files changed, 0 insertions, 0 deletions