diff options
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r-- | video/out/vo_xv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index 43fc046f9f..d93673493f 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -697,6 +697,9 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) struct xvctx *ctx = vo->priv; wait_for_completion(vo, ctx->num_buffers - 1); + bool render = vo_x11_check_visible(vo); + if (!render) + return; struct mp_image xv_buffer = get_xv_buffer(vo, ctx->current_buf); if (mpi) { |