diff options
author | wm4 <wm4@nowhere> | 2015-10-14 20:38:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-14 20:38:30 +0200 |
commit | 3a7a2385df1244a242591633497510f4a3c32836 (patch) | |
tree | 63e22f098d11639296d2d650ce35efa4474ef310 /TOOLS | |
parent | 3274fabeb34b39c230cbf5d20006de87a97d97f3 (diff) | |
download | mpv-3a7a2385df1244a242591633497510f4a3c32836.tar.bz2 mpv-3a7a2385df1244a242591633497510f4a3c32836.tar.xz |
vo_opengl_cb: fix pausing and seeking if interpolation is enabled
When seeking, the current frame will have the wrong timestamp, until the
seek is done and a new frame from the seek target is shown. We still use
the "old" frame for redrawing during seeks. This frame has to be
explicitly marked with still=true in order not to confuse the
interpolation queue. If this is not done, it will ignore frames until a
frame with approximately the same timestamp as the "old" frame is
reached. (Does this mean interpolation handles timestamp resets
incorrectly? I have no idea.)
Of course we also have to clear possibly queued frames on seeks.
Also, in pausing, explicitly let the frame redraw.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions