mirror of https://github.com/mpv-player/mpv
command: fix bitrate unit capitalization
This is 1 billion times smaller than it should be in SI units.
This commit is contained in:
parent
22e21edbd4
commit
92d1e9cd8a
|
@ -3233,7 +3233,7 @@ static int mp_property_packet_bitrate(void *ctx, struct m_property *prop,
|
||||||
if (rate < 1000) {
|
if (rate < 1000) {
|
||||||
*(char **)arg = talloc_asprintf(NULL, "%d kbps", (int)rate);
|
*(char **)arg = talloc_asprintf(NULL, "%d kbps", (int)rate);
|
||||||
} else {
|
} else {
|
||||||
*(char **)arg = talloc_asprintf(NULL, "%.3f mbps", rate / 1000.0);
|
*(char **)arg = talloc_asprintf(NULL, "%.3f Mbps", rate / 1000.0);
|
||||||
}
|
}
|
||||||
return M_PROPERTY_OK;
|
return M_PROPERTY_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue