summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-03-17 23:28:29 -0700
committerKevin Mitchell <kevmitch@gmail.com>2016-03-30 09:01:27 -0700
commita7110862c8a828e556dd2da0905c3e69f56eca29 (patch)
tree2596247d8712307a370e6d48a254a7e8f29ae94f /options/options.c
parent872d0838a4040e6ed275e4510741c8a54035ff73 (diff)
downloadmpv-a7110862c8a828e556dd2da0905c3e69f56eca29.tar.bz2
mpv-a7110862c8a828e556dd2da0905c3e69f56eca29.tar.xz
vd_lavc: add d3d11va hwdec
This commit adds the d3d11va-copy hwdec mode using the ffmpeg d3d11va api. Functions in common with dxva2 are handled in a separate decode/d3d.c file. A future commit will rewrite decode/dxva2.c to share this code.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index de08b4ecdb..3446674857 100644
--- a/options/options.c
+++ b/options/options.c
@@ -88,6 +88,7 @@ const struct m_opt_choice_alternatives mp_hwdec_names[] = {
{"vaapi-copy", HWDEC_VAAPI_COPY},
{"dxva2", HWDEC_DXVA2},
{"dxva2-copy", HWDEC_DXVA2_COPY},
+ {"d3d11va-copy",HWDEC_D3D11VA_COPY},
{"rpi", HWDEC_RPI},
{"mediacodec", HWDEC_MEDIACODEC},
{0}