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
..
riscv riscv: probe for Zbb extension at load time 2024-06-11 20:12:37 +03:00
tests Merge commit '93fed46a92' 2017-03-19 16:08:27 +01:00
.gitignore lavfi,lavd: add gitignore for generated static component lists 2018-04-05 22:08:53 +01:00
alldevices.c avdevice: remove deprecated FF_API_SDL2_DEVICE 2025-03-28 14:33:07 -03:00
alsa.c avdevice/alsa: simplify passing ff_alsa_open a channel layout 2025-02-12 18:49:07 -03:00
alsa.h avdevice/alsa: simplify passing ff_alsa_open a channel layout 2025-02-12 18:49:07 -03:00
alsa_dec.c avdevice/alsa: simplify passing ff_alsa_open a channel layout 2025-02-12 18:49:07 -03:00
alsa_enc.c avdevice/alsa: simplify passing ff_alsa_open a channel layout 2025-02-12 18:49:07 -03:00
android_camera.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
audiotoolbox.m avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
avdevice.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
avdevice.h avdevice: remove FF_API_DEVICE_CAPABILITIES 2023-02-09 15:35:14 +01:00
avdeviceres.rc
avfoundation.m avfoundation: Fix compilation for OSes other than macOS and iOS 2025-04-04 17:12:33 +03:00
caca.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
ccfifo.c avdevice/decklink_enc: add support for playout of 608 captions in MOV files 2023-05-11 22:06:20 +08:00
decklink_common.cpp avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output 2023-07-02 19:57:45 +02:00
decklink_common.h avdevice/decklink_dec: extend available actions on signal loss 2024-09-09 23:47:49 +02:00
decklink_common_c.h avdevice/decklink_dec: extend available actions on signal loss 2024-09-09 23:47:49 +02:00
decklink_dec.cpp avdevice/decklink_dec: fix leaks on error 2024-09-29 10:12:41 +02:00
decklink_dec.h avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders 2022-02-21 13:09:48 +01:00
decklink_dec_c.c avdevice/decklink_dec: extend available actions on signal loss 2024-09-09 23:47:49 +02:00
decklink_enc.cpp avformat/vapoursynth: Add missing inclusion of frame.h 2023-09-10 17:32:11 +02:00
decklink_enc.h avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders 2022-02-21 13:09:48 +01:00
decklink_enc_c.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
dshow.c avdevice/dshow: fix unused variable warning 2024-10-17 13:04:17 +02:00
dshow_capture.h avdevice/dshow_capture: Fix error handling in ff_dshow_##prefix##_Create() 2024-07-15 01:59:40 +02:00
dshow_common.c
dshow_crossbar.c avdevice/dshow: tv_tuner_audio_dialog cleanup missing 2022-01-04 17:40:29 +05:30
dshow_enummediatypes.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
dshow_enumpins.c avdevice/dshow: fix crash on x86 2022-01-04 17:40:54 +05:30
dshow_filter.c avdevice/dshow_filter: Use wcscpy_s() 2024-07-15 01:59:37 +02:00
dshow_pin.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
fbdev_common.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
fbdev_common.h lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
fbdev_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
fbdev_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
file_open.c
gdigrab.c libavdevice/gdigrab: change hwnd tail check fail logic to !=null 2024-08-15 20:10:33 +08:00
iec61883.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
internal.h avformat: Constify the API wrt AV(In|Out)putFormat 2021-04-27 10:43:08 -03:00
jack.c avdevice/jack: use av_err2str to simplify code 2024-09-13 00:30:48 +02:00
kmsgrab.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
lavfi.c avutil: remove deprecated FF_API_FRAME_PKT 2025-03-28 14:33:08 -03:00
libavdevice.v Merge commit '535a742c26' 2016-06-27 17:56:47 +02:00
libcdio.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
libdc1394.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
Makefile avdevice: remove deprecated FF_API_SDL2_DEVICE 2025-03-28 14:33:07 -03:00
openal-dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
oss.c avutil/internal: Move avpriv-file API to a header of its own 2022-09-03 15:41:44 +02:00
oss.h avdevice/oss_dec: account for sample size when computing timestamp 2022-06-19 23:01:20 +02:00
oss_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
oss_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
pulse_audio_common.c avdevice/pulse_audio_common: Use av_freep(), avoid leaving stale pointers 2014-11-21 18:02:01 +01:00
pulse_audio_common.h avdevice/pulse_audio_common: Avoid inclusion of avcodec.h 2023-08-05 09:40:06 +02:00
pulse_audio_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
pulse_audio_enc.c avformat: remove deprecated FF_API_ALLOW_FLUSH 2025-03-28 14:33:07 -03:00
reverse.c avdevice: make ff_reverse available on shared builds 2017-07-20 00:33:29 -03:00
sndio.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
sndio.h Merge commit '8d26c193fb' 2015-04-09 21:36:42 +02:00
sndio_dec.c avformat/avformat: Add FFInputFormat, hide internals of AVInputFormat 2024-03-07 08:53:31 -03:00
sndio_enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
timefilter.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
timefilter.h avdevice/timefilter: remove obsolete comments from the docs 2021-02-27 21:30:41 +01:00
utils.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
v4l2-common.c avdevice/v4l2: add NV16 and NV24 pixel formats 2024-07-01 13:43:07 +02:00
v4l2-common.h avdevice/v4l2*: Improve included headers 2022-05-10 07:38:01 +02:00
v4l2.c configure: improve check for POSIX ioctl 2024-09-01 18:01:43 +02:00
v4l2enc.c Revert "all: Don't set AVClass.item_name to its default value" 2024-01-20 10:34:48 +01:00
version.c lib*/version: Use static_assert for static asserts 2024-03-31 00:08:42 +01:00
version.h libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
version_major.h libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
vfwcap.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
xcbgrab.c avdevice/xcbgrab: Check sscanf() return 2024-06-12 00:39:11 +02:00
xv.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00