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

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jun 11 21:35:40 CEST 2014

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)

Imo, push if it works for you.

Carl Eugen

More information about the ffmpeg-devel mailing list