diff options
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/playloop.c b/player/playloop.c index e73ad61788..de3e0aea9a 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -180,8 +180,8 @@ void update_screensaver_state(struct MPContext *mpctx) bool saver_state = mpctx->opts->pause || !mpctx->opts->stop_screensaver || !mpctx->playback_initialized; - vo_control(mpctx->video_out, saver_state ? VOCTRL_RESTORE_SCREENSAVER - : VOCTRL_KILL_SCREENSAVER, NULL); + vo_control_async(mpctx->video_out, saver_state ? VOCTRL_RESTORE_SCREENSAVER + : VOCTRL_KILL_SCREENSAVER, NULL); } void add_step_frame(struct MPContext *mpctx, int dir) |