diff options
author | wm4 <wm4@nowhere> | 2016-10-30 12:16:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-30 12:16:24 +0100 |
commit | b0ef3dd4fb49b8fe111b00ca44c30b9890be0282 (patch) | |
tree | 99f7241e4f3e29773c95e0631e893cf93f9822c9 | |
parent | 1ff6d8ae2ec28448ec666462e282040dd0694095 (diff) |
vo_opengl_cb: fix inverted condition
Commit e6291697 got this wrong.
-rw-r--r-- | video/out/vo_opengl_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c index 8d2af31491..e8c6dfbef8 100644 --- a/video/out/vo_opengl_cb.c +++ b/video/out/vo_opengl_cb.c @@ -296,7 +296,7 @@ int mpv_opengl_cb_draw(mpv_opengl_cb_context *ctx, int fbo, int vp_w, int vp_h) int64_t wait_present_count = ctx->present_count; if (frame) { ctx->next_frame = NULL; - if (frame->redraw || !frame->current) + if (!(frame->redraw || !frame->current)) wait_present_count += 1; pthread_cond_signal(&ctx->wakeup); talloc_free(ctx->cur_frame); |