[FFmpeg-devel] [PATCH] AVFoundation: Add -pixel_format option

Thilo Borgmann thilo.borgmann at mail.de
Thu Jun 12 07:11:15 CEST 2014



> Am 12.06.2014 um 04:06 schrieb Michael Niedermayer <michaelni at gmx.at>:
> 
>> On Thu, Jun 12, 2014 at 12:24:40AM +0200, Thilo Borgmann wrote:
>> 
>> 
>>> Am 11.06.2014 um 21:35 schrieb Carl Eugen Hoyos <cehoyos at ag.or.at>:
>>> 
>>> Thilo Borgmann <thilo.borgmann <at> mail.de> writes:
>>> 
>>>> +        // select first supported pixel format instead 
>>>> of user selected (or default) pixel format
>>>> +        if (pxl_fmt_spec.ff_id == AV_PIX_FMT_NONE) {
>>>> +            pxl_fmt_spec = pxl_fmt_dummy;
>>> 
>>> Should monoblack and rgb5x5 be moved down in avf_pixel_formats[]?
>>> Or do I misunderstand the code?
>>> (default should be rgb24 or similar)
>> 
>> This block selects the first supported format of the device in order of enumeration - independent of the order of the formats array.
> 
> should i apply it ?
> should i wait ?

Please apply!

Thanks,
Thilo


More information about the ffmpeg-devel mailing list