diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-04-29 01:00:38 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-04-29 01:02:56 +0400 |
commit | a61c2115fb936d50b8b0328d00562fe529a7c46a (patch) | |
tree | 8de5d3e343e2806e56b7e5297a9198cfa96dc3aa /avconv_opt.c | |
parent | 35177ba77ff60a8b8839783f57e44bcc4214507a (diff) |
configure: rework dxva in avconv handling
Move the dxva check after the dependencies have been detected, make sure
the ole32 library exists.
Fixes build on non-Windows.
Diffstat (limited to 'avconv_opt.c')
-rw-r--r-- | avconv_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_opt.c b/avconv_opt.c index 6015183a3f..ae6c48b39d 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -57,7 +57,7 @@ const HWAccel hwaccels[] = { #if HAVE_VDPAU_X11 { "vdpau", vdpau_init, HWACCEL_VDPAU, AV_PIX_FMT_VDPAU }, #endif -#if CONFIG_DXVA2 +#if HAVE_DXVA2_LIB { "dxva2", dxva2_init, HWACCEL_DXVA2, AV_PIX_FMT_DXVA2_VLD }, #endif { 0 }, |