summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c5
1 files changed, 1 insertions, 4 deletions
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) {