[FFmpeg-devel] [PATCH] avdevice/avfoundation: fix macOS/iOS/tvOS SDK conditional checks

Thilo Borgmann thilo.borgmann at mail.de
Wed Apr 17 19:04:57 EEST 2024


Hi,

On 17.04.24 17:12, Marvin Scholz wrote:
> This fixes the checks to properly use runtime feature detection and
> check the SDK version (*_MAX_ALLOWED) instead of the targeted version
> for the relevant APIs.
> 
> The target is still checked (*_MIN_REQUIRED) to avoid using deprecated
> methods when targeting new enough versions.
> ---
>   libavdevice/avfoundation.m | 164 ++++++++++++++++++++++++++-----------
>   1 file changed, 116 insertions(+), 48 deletions(-)

this is probably the extension to what we started at FOSDEM, right?

LGTM if tested. Please apply, I can't in the next couple of days.

Thanks,
Thilo


More information about the ffmpeg-devel mailing list