From e02c9b9902f5bd356088cfbff3b9c333e50f1e47 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 29 Apr 2018 20:03:24 +0200 Subject: build: make encoding mode non-optional Makes it easier to not break the build by confusing the ifdeffery. --- player/osd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index fd6b421849..52c9b83286 100644 --- a/player/osd.c +++ b/player/osd.c @@ -198,7 +198,6 @@ static char *get_term_status_msg(struct MPContext *mpctx) saddf(&line, " ct:%7.3f", mpctx->total_avsync_change); } -#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), @@ -206,9 +205,7 @@ static char *get_term_status_msg(struct MPContext *mpctx) { // encoding stats saddf(&line, " %s", lavcbuf); - } else -#endif - { + } else { // VO stats if (mpctx->vo_chain) { if (mpctx->display_sync_active) { -- cgit v1.2.3