summaryrefslogtreecommitdiffstats
path: root/player/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/osd.c')
-rw-r--r--player/osd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/osd.c b/player/osd.c
index 2f1e5d5fb8..93d6302cc0 100644
--- a/player/osd.c
+++ b/player/osd.c
@@ -237,6 +237,8 @@ static char *get_term_status_msg(struct MPContext *mpctx)
if (s.ts_duration < 0) {
saddf(&line, "???");
+ } else if (s.ts_duration < 10) {
+ saddf(&line, "%2.1fs", s.ts_duration);
} else {
saddf(&line, "%2ds", (int)s.ts_duration);
}