mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
parent
1ff6d8ae2e
commit
b0ef3dd4fb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user