diff options
author | wm4 <wm4@nowhere> | 2014-10-25 19:23:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-25 19:25:22 +0200 |
commit | 423a7de67625749a7563ddbd1094091dee7b40ae (patch) | |
tree | cc5691cf2e132b58e9b44204ec4fa6faeaff718f /video/decode/vd_lavc.c | |
parent | c63c0d1cb1e6151d4690c60503920cdfcb7b35dd (diff) | |
download | mpv-423a7de67625749a7563ddbd1094091dee7b40ae.tar.bz2 mpv-423a7de67625749a7563ddbd1094091dee7b40ae.tar.xz |
video: initial dxva2 support
Shamelessly stolen from ffmpeg. It probably doesn't work - you can debug
it yourself.
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 4de03e8af0..8dfc1a77cd 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -119,6 +119,7 @@ const struct vd_lavc_hwdec mp_vd_lavc_vdpau; const struct vd_lavc_hwdec mp_vd_lavc_vda; const struct vd_lavc_hwdec mp_vd_lavc_vaapi; const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy; +const struct vd_lavc_hwdec mp_vd_lavc_dxva2_copy; static const struct vd_lavc_hwdec *const hwdec_list[] = { #if HAVE_VDPAU_HWACCEL @@ -131,6 +132,9 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = { &mp_vd_lavc_vaapi, &mp_vd_lavc_vaapi_copy, #endif +#if HAVE_DXVA2_HWACCEL + &mp_vd_lavc_dxva2_copy, +#endif NULL }; |