summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-08-27 11:43:06 +0200
committerwm4 <wm4@nowhere>2020-08-27 11:55:20 +0200
commitab6dbf0a294d695449b46c6ac1e5603fd9a8a8e7 (patch)
treecb40cb4b55c6eb36c27db890d68f97d590b51983 /player/video.c
parent5f89b230c77af7823f48443bdd28899f616ded45 (diff)
downloadmpv-ab6dbf0a294d695449b46c6ac1e5603fd9a8a8e7.tar.bz2
mpv-ab6dbf0a294d695449b46c6ac1e5603fd9a8a8e7.tar.xz
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.
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
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)