diff options
Diffstat (limited to 'player/osd.c')
-rw-r--r-- | player/osd.c | 2 |
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); } |