[FFmpeg-devel] [PATCH] kCVPixelFormatType_OneComponent8 only exists from 10.8 onward

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jul 14 08:57:36 CEST 2014


On 14.07.2014, at 04:55, Hanspeter Niederstrasser <niederstrasser at gmail.com> wrote:
> The AVFoundation indev uses kCVPixelFormatType_OneComponent8, but that
> only exists on 10.8 and up.  This puts it behind a #if.

It's not ideal. Maybe not worth the effort, but it would be better if a version compiled for older OSX could still use it if run on 10.8.
Requiring it to be compiled on 10.8 might be ok.
In other words, I think the check should be about whether the header provides that definition, not what minimum OSX version we compile for.


More information about the ffmpeg-devel mailing list