From a17d5e4bddab412488fea1bd7f7d56034c5a5d7d Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 12 Aug 2015 22:26:35 +0200 Subject: player: use OSD formattin for DS on the terminal status line --- player/osd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'player/osd.c') diff --git a/player/osd.c b/player/osd.c index ace465b18d..8a000862eb 100644 --- a/player/osd.c +++ b/player/osd.c @@ -226,7 +226,11 @@ static void print_status(struct MPContext *mpctx) // VO stats if (mpctx->d_video) { if (mpctx->display_sync_active) { - saddf(&line, " DS: %f", mpctx->speed_factor_a); + char *f = + mp_property_expand_string(mpctx, "${audio-speed-correction}"); + if (f) + saddf(&line, " DS: %s", f); + talloc_free(f); int64_t m = vo_get_missed_count(mpctx->video_out); if (m > 0) saddf(&line, " Missed: %"PRId64, m); -- cgit v1.2.3