summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-07-06 10:58:26 -0700
committerwm4 <wm4@nowhere>2017-10-09 18:36:54 +0200
commite80a2a572dd7a426fc11b3776985b99460214d75 (patch)
tree67192d1fe30823a43ebdf37a4a6e53ef91022039 /video/out/vo.c
parent61a1612de9c18d497c3be01f10b0fabc2066d76f (diff)
downloadmpv-e80a2a572dd7a426fc11b3776985b99460214d75.tar.bz2
mpv-e80a2a572dd7a426fc11b3776985b99460214d75.tar.xz
vo: add mediacodec_embed output driver
Allows rendering IMGFMT_MEDIACODEC frames directly onto an android.view.Surface
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 6f0dbb3d33..ff8c381f60 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -47,6 +47,7 @@
#include "osdep/io.h"
#include "osdep/threads.h"
+extern const struct vo_driver video_out_android;
extern const struct vo_driver video_out_x11;
extern const struct vo_driver video_out_vdpau;
extern const struct vo_driver video_out_xv;
@@ -66,6 +67,9 @@ extern const struct vo_driver video_out_tct;
const struct vo_driver *const video_out_drivers[] =
{
+#if HAVE_ANDROID
+ &video_out_android,
+#endif
#if HAVE_RPI
&video_out_rpi,
#endif