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 c4c980d026..ebbcdee2c1 100644
--- a/wscript
+++ b/wscript
@@ -719,6 +719,14 @@ hwaccel_features = [
'desc': 'libavcodec VDPAU hwaccel',
'deps': [ 'vdpau' ],
'func': check_statement('libavcodec/vdpau.h',
+ 'av_vdpau_bind_context(0,0,0,AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH)',
+ use='libav'),
+ }, {
+ 'name': '--vdpau-old-hwaccel',
+ 'desc': 'libavcodec VDPAU hwaccel (old API)',
+ 'deps': [ 'vdpau' ],
+ 'deps_neg': [ 'vdpau-hwaccel' ],
+ 'func': check_statement('libavcodec/vdpau.h',
'av_vdpau_alloc_context()',
use='libav'),
}, {