[FFmpeg-devel] [PATCH] lavc/options: set all codec options to defaults

Lukasz Marek lukasz.m.luki2 at gmail.com
Wed Nov 12 23:46:21 CET 2014


On 12.11.2014 23:05, Michael Niedermayer wrote:
> On Tue, Nov 11, 2014 at 06:30:39PM +0100, Lukasz Marek wrote:
>> avcodec_get_context_defaults3() sets only specific options to default the values.
>> This commit force all options to be set to the defaults.
>> This improves effectiveness of new ffm format.
>> In particular it fixes "bt" option being out of range when context is created for
>> non-video media type. (it is 0, when min=1)
>
> why do video fields matter for a non video stream ?

In the meantime I found better solution, so consider it dropped.



More information about the ffmpeg-devel mailing list