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

Panagiotis Issaris takis.issaris
Sat Sep 16 00:44:48 CEST 2006


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

 doc/ffmpeg-doc.texi |    2 +-
 ffmpeg.c            |   17 ++++-------------
 2 files changed, 5 insertions(+), 14 deletions(-)

With friendly regards,
Takis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20060916T003549-ffmpeg-remove_bufsize_option.diff
Type: text/x-patch
Size: 3749 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060916/963b1344/attachment.bin>



More information about the ffmpeg-devel mailing list