summaryrefslogtreecommitdiffstats
path: root/DOCS/encoding.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-01 23:48:51 +0200
committerwm4 <wm4@nowhere>2013-10-02 00:42:18 +0200
commit3c0333978ecba247109366bf07fdfe87dd4a6b38 (patch)
tree3e218b5693e480cecf5fa752ee24dbf0bd175504 /DOCS/encoding.rst
parent7be13b4690fa179cc83b0dcfd0f3bd2f8b680847 (diff)
downloadmpv-3c0333978ecba247109366bf07fdfe87dd4a6b38.tar.bz2
mpv-3c0333978ecba247109366bf07fdfe87dd4a6b38.tar.xz
core: don't require "refresh" seek for --keep-open
Seeking normally resets the VO and throws away the currently displayed frame, so if you seek outside the video with --keep-open enabled, the window would normally be "stuck" and not redraw properly, because there is no source video frame that could be redrawn. To deal with this, a precise seek to the position of the last displayed video frame was issued. This usually worked, but it can fail for formats where seeking is broken or not possible (consider reading from a pipe). Fix this by changing the semantics for vo_seek_reset(): now the video frame is remembered even after seeking. Note that this changes behavior a little when trying to seek outside of a file with --keep-open enabled. Since no actual seek is done anymore, the video will remain "frozen" on the previous position, and you can't unpause or framestep to see the video between current position and actual end of the video. If users complain, I might revert this commit.
Diffstat (limited to 'DOCS/encoding.rst')
0 files changed, 0 insertions, 0 deletions