summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-21 22:24:20 +0100
committerwm4 <wm4@nowhere>2016-01-22 00:25:44 +0100
commit7bb9203f7fec1ad4e40a7ae58d68b604c0a4565e (patch)
tree6454f416b7ef2c5612ba1b4bdc66a0839530e1f5 /player/osd.c
parentfef8b7984be5a6244612d346bd60d2badd4a2e63 (diff)
downloadmpv-7bb9203f7fec1ad4e40a7ae58d68b604c0a4565e.tar.bz2
mpv-7bb9203f7fec1ad4e40a7ae58d68b604c0a4565e.tar.xz
player: refactor: eliminate MPContext.d_audio
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c4
1 files changed, 2 insertions, 2 deletions
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);