vo_opengl_cb: fix inverted condition

Commit e6291697 got this wrong.
This commit is contained in:
wm4 2016-10-30 12:16:24 +01:00
parent 1ff6d8ae2e
commit b0ef3dd4fb
1 changed files with 1 additions and 1 deletions

View File

@ -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);