summaryrefslogtreecommitdiffstats
path: root/options
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 /options
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 'options')
-rw-r--r--options/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 0c2eb6a289..d5a1cab0b1 100644
--- a/options/options.c
+++ b/options/options.c
@@ -281,7 +281,8 @@ const m_option_t mp_opts[] = {
{"vdpau", 1},
{"vda", 2},
{"vaapi", 4},
- {"vaapi-copy", 5})),
+ {"vaapi-copy", 5},
+ {"dxva2-copy", 6})),
OPT_STRING("hwdec-codecs", hwdec_codecs, 0),
OPT_SUBSTRUCT("sws", vo.sws_opts, sws_conf, 0),