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/osd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index 9ee7ea7576..45db9b2c77 100644 --- a/player/osd.c +++ b/player/osd.c @@ -195,7 +195,7 @@ static void print_status(struct MPContext *mpctx) saddf(&line, "(Paused) "); } - if (mpctx->d_audio) + if (mpctx->ao_chain) saddf(&line, "A"); if (mpctx->vo_chain) saddf(&line, "V"); @@ -217,7 +217,7 @@ static void print_status(struct MPContext *mpctx) saddf(&line, " x%4.2f", opts->playback_speed); // A-V sync - if (mpctx->d_audio && mpctx->vo_chain && mpctx->sync_audio_to_video) { + if (mpctx->ao_chain && mpctx->vo_chain && mpctx->sync_audio_to_video) { saddf(&line, " A-V:%7.3f", mpctx->last_av_difference); if (fabs(mpctx->total_avsync_change) > 0.05) saddf(&line, " ct:%7.3f", mpctx->total_avsync_change); -- cgit v1.2.3