summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/osd.c')
-rw-r--r--mpvcore/player/osd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/osd.c b/mpvcore/player/osd.c
index c7964c03f9..a6cfbcb5bc 100644
--- a/mpvcore/player/osd.c
+++ b/mpvcore/player/osd.c
@@ -140,7 +140,7 @@ void print_status(struct MPContext *mpctx)
saddf(&line, " ct:%7.3f", mpctx->total_avsync_change);
}
-#ifdef CONFIG_ENCODING
+#if HAVE_ENCODING
double position = get_current_pos_ratio(mpctx, true);
char lavcbuf[80];
if (encode_lavc_getstatus(mpctx->encode_lavc_ctx, lavcbuf, sizeof(lavcbuf),