From 92d1e9cd8a919b1961de9d9871256bbc76997ede Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:42:04 -0500 Subject: [PATCH] command: fix bitrate unit capitalization This is 1 billion times smaller than it should be in SI units. --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/command.c b/player/command.c index fc730f43ab..c080e779fa 100644 --- a/player/command.c +++ b/player/command.c @@ -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; }