summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 3 insertions, 5 deletions
diff --git a/wscript b/wscript
index 33b9abe609..eb97d7749b 100644
--- a/wscript
+++ b/wscript
@@ -797,7 +797,7 @@ hwaccel_features = [
'name': '--vaapi-hwaccel',
'desc': 'libavcodec VAAPI hwaccel',
'deps': [ 'vaapi' ],
- 'func': check_headers('libavcodec/vaapi.h', use='libav'),
+ 'func': check_true,
}, {
'name': '--vaapi-hwaccel-new',
'desc': 'libavcodec VAAPI hwaccel (new)',
@@ -837,11 +837,9 @@ hwaccel_features = [
use='libav'),
}, {
'name': '--d3d-hwaccel',
- 'desc': 'libavcodec DXVA2 and D3D11VA hwaccel',
+ 'desc': 'DXVA2 and D3D11VA hwaccel',
'deps': [ 'win32' ],
- 'func': compose_checks(
- check_headers('libavcodec/dxva2.h', use='libav'),
- check_headers('libavcodec/d3d11va.h', use='libav')),
+ 'func': check_true,
}, {
'name': '--cuda-hwaccel',
'desc': 'CUDA hwaccel',