mirror of https://github.com/mpv-player/mpv
command: drop " %" from "cache" property OSD-formatting
This commit is contained in:
parent
9f31b73cda
commit
52ead45f05
|
@ -1110,7 +1110,7 @@ static int mp_property_cache(void *ctx, struct m_property *prop,
|
|||
return M_PROPERTY_UNAVAILABLE;
|
||||
|
||||
if (action == M_PROPERTY_PRINT) {
|
||||
*(char **)arg = talloc_asprintf(NULL, "%d %%", (int)cache);
|
||||
*(char **)arg = talloc_asprintf(NULL, "%d", (int)cache);
|
||||
return M_PROPERTY_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue