diff options
author | wm4 <wm4@nowhere> | 2015-08-25 21:31:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-25 21:31:37 +0200 |
commit | 6238491688791a23b333c8450fa910fd5a71ac56 (patch) | |
tree | 33f58b12dc71e44cc7bab3b1967865f582d0ab55 /demux/cue.c | |
parent | cf94fce4670cc43a805f8ab90e5f805cb57ff310 (diff) | |
download | mpv-6238491688791a23b333c8450fa910fd5a71ac56.tar.bz2 mpv-6238491688791a23b333c8450fa910fd5a71ac56.tar.xz |
vo_opengl: force redraw when framestepping with interpolation
This might fix some problems when framestepping with interpolation
enabled. The problem here is that we want to show the non-interpolated
frame while paused. Framestepping is like unpausing the video for a
frame, and then pausing again. This draws an interpolated frame, and
redrawing on pausing is supposed to take care of this.
This possibly didn't always work, because vo->want_redraw is not checked
by the vo_control() code path. So wake up the VO thread (which takes
care of servicing redraw requests, kind of) explicitly.
The correct solution is getting rid of the public-writable want_redraw
field and replacing it with a new vo_request_redraw() function, but this
can come later.
Diffstat (limited to 'demux/cue.c')
0 files changed, 0 insertions, 0 deletions