[FFmpeg-devel] [PATCH] kCVPixelFormatType_OneComponent8only exists from 10.8 onward

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jul 16 08:11:55 CEST 2014


On 14.07.2014, at 15:21, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
>> In other words, I think the check should be about whether 
>> the header provides that definition, not what minimum OSX 
>> version we compile for.
> 
> Isn't this exactly what the check does?

It checks __MAC_OS_X_VERSION_MIN_REQUIRED, as far as I know that is the OSX version you compile _for_ (i.e. you probably can't even start the program on anything older), not the version you compile _on_.
Though I do not know how clearly these are separated in the OSX toolchain.
We'd really want a way that allows using this format if running at 10.8 but still makes it possible to run the binary on 10.6.
If they did it stupidly it might only be possible by providing a definition ourselves.


More information about the ffmpeg-devel mailing list