diff options
author | wm4 <wm4@nowhere> | 2014-09-21 10:06:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-21 10:06:06 +0200 |
commit | a4241f9de68860d5143d9c21b8c26bb2c6500663 (patch) | |
tree | 2551a8a24cdddaf3e2c4d8599023ca271411e023 | |
parent | 1cf229f4623ec302afb71ab93f44f273ffb1a515 (diff) | |
download | mpv-a4241f9de68860d5143d9c21b8c26bb2c6500663.tar.bz2 mpv-a4241f9de68860d5143d9c21b8c26bb2c6500663.tar.xz |
video: fix redrawing when pausing after framedrop
When pausing after a frame was just dropped, we're logically at the
dropped frame, and thus should redraw the dropped frame. This was
implemented, but didn't work after unpausing for the second time,
because of a minor logic bug.
-rw-r--r-- | video/out/vo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 774d2e2bd4..9d005647e2 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -703,7 +703,7 @@ void vo_set_paused(struct vo *vo, bool paused) struct vo_internal *in = vo->in; pthread_mutex_lock(&in->lock); if (in->paused != paused) { - in->paused = true; + in->paused = paused; if (in->paused && in->dropped_frame) in->request_redraw = true; } |