[Ffmpeg-devel] [PATCH 3/10] Remove "bf" OptionDef

Panagiotis Issaris takis.issaris
Wed Sep 20 02:01:24 CEST 2006


Hi,

The attached patch removes the "bf" OptionDef parameter. 

It turns out some users were using the AVOption options for bypassing
the constraint checks :) For "max_bf_frames", zero (in fact anything)
was an allowed value, for "bf" it was not. As it seemed the logical way
to disable B-frame usage to me, I changed the AVOption to check
constraints, but set the minimum value to allow zero B-frames which the
ffmpeg.c check did not.

 ffmpeg.c           |   15 ---------------
 libavcodec/utils.c |    2 +-
 2 files changed, 1 insertion(+), 16 deletions(-)

With friendly regards,
Takis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20060920T013607-ffmpeg-remove_bf_optiondef.diff
Type: text/x-patch
Size: 2972 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060920/3d70e636/attachment.bin>



More information about the ffmpeg-devel mailing list