[Ffmpeg-devel] [PATCH] Remove "bufsize" OptionDef option

Michael Niedermayer michaelni
Sat Sep 16 01:11:46 CEST 2006


Hi

On Sat, Sep 16, 2006 at 12:44:48AM +0200, Panagiotis Issaris wrote:
> Hi,
> 
> The attached patch removes the "bufsize" OptionDef option from the
> ffmpeg.c file. The equally named "bufsize" AVOption takes over its
> function and this occurs transparantly with the exception of the
> parameter unit change. Regression tests succeed.
> 
> So, this is yet another case where the unit of a commandline unit is
> changed, this time from from kilobytes to bits. Using the postfix "kB"
> eases the situation:
> * Before this patch:
>     ffmpeg -i src.ext -bufsize 224 dst.ext
> * After this patch:
>     ffmpeg -i src.ext -bufsize 224kB dst.ext

no this is not the same theres a 1000/1024 difference

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list