From 7bb9203f7fec1ad4e40a7ae58d68b604c0a4565e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Jan 2016 22:24:20 +0100 Subject: player: refactor: eliminate MPContext.d_audio --- 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 18a7ef53ec..8b766eac47 100644 --- a/player/video.c +++ b/player/video.c @@ -377,7 +377,7 @@ int reinit_video_chain(struct MPContext *mpctx) mpctx->sync_audio_to_video = !sh->attached_picture; // If we switch on video again, ensure audio position matches up. - if (mpctx->d_audio) + if (mpctx->ao_chain) mpctx->audio_status = STATUS_SYNCING; reset_video_state(mpctx); -- cgit v1.2.3