summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-25 19:23:46 +0200
committerwm4 <wm4@nowhere>2014-10-25 19:25:22 +0200
commit423a7de67625749a7563ddbd1094091dee7b40ae (patch)
treecc5691cf2e132b58e9b44204ec4fa6faeaff718f /wscript
parentc63c0d1cb1e6151d4690c60503920cdfcb7b35dd (diff)
downloadmpv-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 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index 77ea8d8c45..195f94785b 100644
--- a/wscript
+++ b/wscript
@@ -727,6 +727,11 @@ hwaccel_features = [
'desc': 'libavcodec VDPAU hwaccel',
'deps': [ 'vdpau' ],
'func': check_true,
+ }, {
+ 'name': '--dxva2-hwaccel',
+ 'desc': 'libavcodec DXVA2 hwaccel',
+ 'deps': [ 'gdi' ],
+ 'func': check_true,
}
]