diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-01-30 01:04:34 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-02-17 06:59:02 -0800 |
commit | 084162d6fe9033cb3499a7013a2489a70e1aed93 (patch) | |
tree | 71bd0ce88427547314d56d91bbbd557a23595451 /video/decode/vd_lavc.c | |
parent | 941885b62cabb4dc1dfe3946705efd97c2d10f56 (diff) | |
download | mpv-084162d6fe9033cb3499a7013a2489a70e1aed93.tar.bz2 mpv-084162d6fe9033cb3499a7013a2489a70e1aed93.tar.xz |
dxva2: add interop (non-copyback) hwdec_type
This always falls back to software decoding right now. VO support will be added
in future commits.
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index ef713c2d65..19c05a9c2f 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -124,6 +124,7 @@ extern const struct vd_lavc_hwdec mp_vd_lavc_vdpau; extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox; extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi; extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy; +extern const struct vd_lavc_hwdec mp_vd_lavc_dxva2; extern const struct vd_lavc_hwdec mp_vd_lavc_dxva2_copy; extern const struct vd_lavc_hwdec mp_vd_lavc_rpi; @@ -142,6 +143,7 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = { &mp_vd_lavc_vaapi_copy, #endif #if HAVE_DXVA2_HWACCEL + &mp_vd_lavc_dxva2, &mp_vd_lavc_dxva2_copy, #endif NULL |