summaryrefslogtreecommitdiff
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index c60d77686a..25968f4f6a 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -67,6 +67,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 },
};