1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2025-04-19 02:04:19 +03:00
ffmpeg/libavdevice
Martin Storsjö 69bab4e74f avfoundation: Fix compilation for OSes other than macOS and iOS
E.g. tvOS doesn't have devicesWithMediaType.

In principle, we could probably disable building the whole
input device on such OSes, but that would either require
testing explicitly for the OS type in configure (which we don't
do anywhere so far), or test for individual objective C methods.

This approach allows the code to compile, but no input devices
will be found at runtime.

Signed-off-by: Martin Storsjö <martin@martin.st>
2025-04-04 17:12:33 +03:00
..
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00