summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-24 23:24:43 +0200
committerwm4 <wm4@nowhere>2014-08-25 00:48:55 +0200
commit95286cd8b81efe7ef8b1d88585da36b95d49cf1f (patch)
tree160e5a11596d331189ec381e5ac8605c2253e71b
parent12509fabc7363ee18373438326fb6609d1710e3b (diff)
downloadmpv-95286cd8b81efe7ef8b1d88585da36b95d49cf1f.tar.bz2
mpv-95286cd8b81efe7ef8b1d88585da36b95d49cf1f.tar.xz
command: change OSD formatting of "speed" property
The "x " prefix annoyed some users.
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index bdb3cf1337..9705d7882b 100644
--- a/player/command.c
+++ b/player/command.c
@@ -173,7 +173,7 @@ static int mp_property_playback_speed(void *ctx, struct m_property *prop,
return M_PROPERTY_OK;
}
case M_PROPERTY_PRINT:
- *(char **)arg = talloc_asprintf(NULL, "x %6.2f", orig_speed);
+ *(char **)arg = talloc_asprintf(NULL, "%.2f", orig_speed);
return M_PROPERTY_OK;
}
return mp_property_generic_option(mpctx, prop, action, arg);