mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
command: change OSD formatting of "speed" property
The "x " prefix annoyed some users.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user