command: fix bitrate unit capitalization

This is 1 billion times smaller than it should be in SI units.
This commit is contained in:
nanahi 2024-01-18 10:42:04 -05:00 committed by sfan5
parent 22e21edbd4
commit 92d1e9cd8a
1 changed files with 1 additions and 1 deletions

View File

@ -3233,7 +3233,7 @@ static int mp_property_packet_bitrate(void *ctx, struct m_property *prop,
if (rate < 1000) {
*(char **)arg = talloc_asprintf(NULL, "%d kbps", (int)rate);
} 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;
}