[Ffmpeg-devel] [PATCH] Allowing (k,M,G and B) unit postfixes

Måns Rullgård mru
Thu Sep 14 03:43:11 CEST 2006


Panagiotis Issaris <takis.issaris at uhasselt.be> writes:

> Hi,
>
> On wo, 2006-09-13 at 23:46 +0100, M?ns Rullg?rd wrote:
>> [...]
>> In the context of bitrates, k=1000 etc is the standard way.  The >1 SI
>> prefixes are all uppercase, except for 'k'.  The <1 prefixes are
>> lowercase.  Since the "small" prefixes don't make sense here,
>> supporting both cases could be useful.
> One thing I am not sure about is whether you both want to use "kb" to
> mean kbits or just "k" as is the case in my current patch.

The argument is just a number.  The unit is determined by the option
taking the argument.  We should use just the multiplier alone.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list