summaryrefslogtreecommitdiffstats
path: root/avtools/avconv_opt.c
diff options
context:
space:
mode:
authorMark Thompson <[email protected]>2017-03-04 23:57:34 +0000
committerMark Thompson <[email protected]>2017-03-20 23:15:43 +0000
commitaa6b2e081c504cb99f5e2e0ceb45295ef24bdac2 (patch)
tree734c3611c609d580f06a212363cabba3e73a13e9 /avtools/avconv_opt.c
parent1a7ddba5762b6c31d1338140550cd594b6d7d48b (diff)
avconv: Enable generic hwaccel support for VDPAU
Diffstat (limited to 'avtools/avconv_opt.c')
-rw-r--r--avtools/avconv_opt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avtools/avconv_opt.c b/avtools/avconv_opt.c
index 09edc1f161..e970c8e46c 100644
--- a/avtools/avconv_opt.c
+++ b/avtools/avconv_opt.c
@@ -57,8 +57,8 @@
const HWAccel hwaccels[] = {
#if HAVE_VDPAU_X11
- { "vdpau", vdpau_init, HWACCEL_VDPAU, AV_PIX_FMT_VDPAU,
- AV_HWDEVICE_TYPE_NONE },
+ { "vdpau", hwaccel_decode_init, HWACCEL_VDPAU, AV_PIX_FMT_VDPAU,
+ AV_HWDEVICE_TYPE_VDPAU },
#endif
#if HAVE_DXVA2_LIB
{ "dxva2", dxva2_init, HWACCEL_DXVA2, AV_PIX_FMT_DXVA2_VLD,