[MPlayer-dev-eng] "bytes per second" in user output: use "B/s", not "bps"

a.guru at sympatico.ca a.guru at sympatico.ca
Thu Aug 18 15:04:53 CEST 2005


In MPlayer, the acronym "bps" is used in
different places to mean four things:

 - bits per second
 - bytes per second
 - bits per sample
 - bytes per sample

Traditionally, in general usage, "bps" means
"bits per second" and "B" is used for "byte(s)".

It would certainly be dubious to want to fix
this ambiguity in the whole code (variables
and strings), but I would propose making the
following change restricted to output to the user
(who in general is not an MPlayer code hacker):

 - use "B/s" instead of "bps" to mean
   "bytes per second" in output strings.

Both are three-character long, so the affected
strings do not change in length.

The affected files are:

 - 1 string:   mplayer.c
 - 3 strings:  help/help_mp-*.h

Also, help/help_mp-sv.h misused "bps" instead of
"fps" in one place.

I gziped the attached patch to minimize its
chances of getting corrupted since it contains
much non-ASCII stuff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bps.diff.gz
Type: application/x-gzip
Size: 4947 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050818/bdd6296c/attachment.bin>


More information about the MPlayer-dev-eng mailing list