summaryrefslogtreecommitdiff
path: root/libavdevice/alldevices.c
diff options
context:
space:
mode:
authorFelix Matouschek <felix@matouschek.org>2018-02-20 09:41:46 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2018-02-22 00:29:27 +0100
commit5ac3a309fddde79db1f70269fbcbd0ba4d94d30e (patch)
treefbb576204fb2d7e42ab91f220f6332f90e15b43a /libavdevice/alldevices.c
parentecb3d6edc3b756cc1d40b1073f244b581ef5bcfb (diff)
avdevice: add android_camera indev
This commit adds an indev for Android devices on API level 24+ which uses the Android NDK Camera2 API to capture video from builtin cameras Signed-off-by: Felix Matouschek <felix@matouschek.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/alldevices.c')
-rw-r--r--libavdevice/alldevices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/alldevices.c b/libavdevice/alldevices.c
index 8b58aa19e5..4c89649b97 100644
--- a/libavdevice/alldevices.c
+++ b/libavdevice/alldevices.c
@@ -29,6 +29,7 @@
/* devices */
extern AVInputFormat ff_alsa_demuxer;
extern AVOutputFormat ff_alsa_muxer;
+extern AVInputFormat ff_android_camera_demuxer;
extern AVInputFormat ff_avfoundation_demuxer;
extern AVInputFormat ff_bktr_demuxer;
extern AVOutputFormat ff_caca_muxer;