[vlc-commits] commit: Use KiB instead of kB for input statistics ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Mar 5 19:36:14 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 3 17:33:44 2010 +0200| [d3f962e138466e48902805ba73d555637d915d0a] | committer: Antoine Cellerier
Use KiB instead of kB for input statistics
This is an arbitrary choice. But KiB are much more common than kB.
Also the notation is unambiguous.
Note that we keep kbps for *bit* rates.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d3f962e138466e48902805ba73d555637d915d0a
---
share/lua/intf/rc.lua | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/lua/intf/rc.lua b/share/lua/intf/rc.lua
index c4e9ba1..d2c65c4 100644
--- a/share/lua/intf/rc.lua
+++ b/share/lua/intf/rc.lua
@@ -333,9 +333,9 @@ function stats(name,client)
client:append("+----[ begin of statistical info")
client:append("+-[Incoming]")
client:append("| input bytes read : "..string.format("%8.0f KiB",stats_tab["read_bytes"]/1024))
- client:append("| input bitrate : "..string.format("%6.0f kb/s",stats_tab["input_bitrate"]*8000))
+ client:append("| input bitrate : "..string.format("%6.0f kB/s",stats_tab["input_bitrate"]*8000))
client:append("| demux bytes read : "..string.format("%8.0f KiB",stats_tab["demux_read_bytes"]/1024))
- client:append("| demux bitrate : "..string.format("%6.0f kb/s",stats_tab["demux_bitrate"]*8000))
+ client:append("| demux bitrate : "..string.format("%6.0f kB/s",stats_tab["demux_bitrate"]*8000))
client:append("| demux corrupted : "..string.format("%5i",stats_tab["demux_corrupted"]))
client:append("| discontinuities : "..string.format("%5i",stats_tab["demux_discontinuity"]))
client:append("|")
More information about the vlc-commits
mailing list