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

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 9 15:31:43 CEST 2014


Hanspeter Niederstrasser <niederstrasser <at> gmail.com> writes:

> -enabled avfoundation_indev && { check_header_oc
> AVFoundation/AVFoundation.h || disable avfoundation_indev; }
> +enabled avfoundation_indev && { check_lib2
> AVFoundation/AVFoundation.h kCVPixelFormatType_OneComponent8

Put an "#ifdef kCVPixelFormatType_OneComponent8" around 
the usage as done in libavformat/v4l2-common.c (if it works).

Carl Eugen



More information about the ffmpeg-devel mailing list