From ab6dbf0a294d695449b46c6ac1e5603fd9a8a8e7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 27 Aug 2020 11:43:06 +0200 Subject: player: fix video paused condition on VO creation Doesn't take paused_for_cache into account. For consistency; unlikely to matter at all in practice. --- player/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 7b4cd86444..2ae581fcfc 100644 --- a/player/video.c +++ b/player/video.c @@ -275,7 +275,7 @@ void reinit_video_chain_src(struct MPContext *mpctx, struct track *track) update_screensaver_state(mpctx); - vo_set_paused(vo_c->vo, mpctx->paused); + vo_set_paused(vo_c->vo, get_internal_paused(mpctx)); // If we switch on video again, ensure audio position matches up. if (mpctx->ao_chain) -- cgit v1.2.3