summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 1f2bd2fe61..163f25bc4a 100644
--- a/wscript
+++ b/wscript
@@ -814,6 +814,14 @@ hwaccel_features = [
'deps': [ 'win32' ],
'func': check_true,
}, {
+ 'name': '--d3d-hwaccel-new',
+ 'desc': 'DXVA2 and D3D11VA hwaccel (new API)',
+ 'func': check_statement('libavcodec/version.h',
+ 'int x[(LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(58, 4, 0) && '
+ ' LIBAVCODEC_VERSION_MICRO < 100)'
+ ' ? 1 : -1]',
+ use='libav'),
+ }, {
'name': '--cuda-hwaccel',
'desc': 'CUDA hwaccel',
'deps': [ 'gl' ],