Rick Kern <kernrj <at> gmail.com> writes:
> +enabled kCVImageBufferColorPrimaries_ITU_R_2020 &&
> add_cppflags -DHAVE_VT_BT2020_KEYS
This is not ok, the define should be added to config.h.
> +#ifndef HAVE_VT_BT2020_KEYS
> +# define kCVImageBufferColorPrimaries_ITU_R_2020 CFSTR("ITU_R_2020")
> +# define kCVImageBufferTransferFunction_ITU_R_2020 CFSTR("ITU_R_2020")
> +# define kCVImageBufferYCbCrMatrix_ITU_R_2020 CFSTR("ITU_R_2020")
> +#endif
Is this safer than #ifndef kCVImageBufferYCbCrMatrix_ITU_R_2020?
Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel