[FFmpeg-devel] [PATCH] avfoundation: Fix version checks

Martin Storsjö martin at martin.st
Fri Dec 15 13:32:32 EET 2023


On Fri, 15 Dec 2023, Zhao Zhili wrote:

>
>> On Dec 15, 2023, at 18:11, Martin Storsjö <martin at martin.st> wrote:
>> 
>> <OS>_VERSION_MAX_ALLOWED indicates what version is available in
>> the SDK, while <OS>_VERSION_MIN_REQUIRED is the version we can
>> assume is available, i.e. similar to what is set with e.g.
>> -miphoneos-version-min on the command line.
>>                                     ^
>
> I think we need some utils for version check on Apple’s multiple target OS. It’s hard
> to get it right and very lengthy to write. Ping Marvin since he is expert on this
> subject.
>
> And can we setup a group of CI for these platforms?

That would be good.

We do have a mac mini running fate tests; it would probably be good to add 
test configurations that build for both macOS and iOS, for both whatever 
the latest version in the installed SDK is, and with an old deployment 
target (those builds often get broken).

(And then, someone would need to check the FATE status as well.)

// Martin


More information about the ffmpeg-devel mailing list