summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-07-06 10:54:40 -0700
committerwm4 <wm4@nowhere>2017-10-09 18:36:54 +0200
commit61a1612de9c18d497c3be01f10b0fabc2066d76f (patch)
treeb7956550a0583226e26d76748734d8d19848a1a0 /video/decode/vd_lavc.c
parent6f0fdac6f16880ef46cbcfb399fd6beec5afe735 (diff)
downloadmpv-61a1612de9c18d497c3be01f10b0fabc2066d76f.tar.bz2
mpv-61a1612de9c18d497c3be01f10b0fabc2066d76f.tar.xz
hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index ec22b42571..fe0de0e43f 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -129,6 +129,7 @@ const struct m_sub_options vd_lavc_conf = {
},
};
+extern const struct vd_lavc_hwdec mp_vd_lavc_mediacodec;
extern const struct vd_lavc_hwdec mp_vd_lavc_mediacodec_copy;
extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox;
extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox_copy;
@@ -261,6 +262,7 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = {
&mp_vd_lavc_d3d11va_copy,
#endif
#if HAVE_ANDROID
+ &mp_vd_lavc_mediacodec,
&mp_vd_lavc_mediacodec_copy,
#endif
#if HAVE_CUDA_HWACCEL