summaryrefslogtreecommitdiff
path: root/avconv_opt.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2014-04-22 15:22:53 +0200
committerAnton Khirnov <anton@khirnov.net>2014-04-28 21:21:54 +0200
commit35177ba77ff60a8b8839783f57e44bcc4214507a (patch)
treef0fe9c9984933d60e8405c2a5f9f7de68cad13da /avconv_opt.c
parentb2b4afe8115fe3c8b005d663610e5af06f110165 (diff)
avconv: add support for DXVA2 decoding
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'avconv_opt.c')
-rw-r--r--avconv_opt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index fc57f6be49..6015183a3f 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -57,6 +57,9 @@ const HWAccel hwaccels[] = {
#if HAVE_VDPAU_X11
{ "vdpau", vdpau_init, HWACCEL_VDPAU, AV_PIX_FMT_VDPAU },
#endif
+#if CONFIG_DXVA2
+ { "dxva2", dxva2_init, HWACCEL_DXVA2, AV_PIX_FMT_DXVA2_VLD },
+#endif
{ 0 },
};