summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-03-23 17:56:05 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-05-12 12:59:16 +0200
commite0e79a2e7edaa86e680553a47f46ebbe78c98df9 (patch)
tree9f664c12207382a28d0ae41e2ea8ce5f162e3290 /wscript
parentdab56b5fd5b1e9e0b1492305c37aede88c500876 (diff)
downloadmpv-e0e79a2e7edaa86e680553a47f46ebbe78c98df9.tar.bz2
mpv-e0e79a2e7edaa86e680553a47f46ebbe78c98df9.tar.xz
vda: Hwaccel 1.2 support
Use the new context and the default functions provided.
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript b/wscript
index 0eff9e3d18..796c0819bf 100644
--- a/wscript
+++ b/wscript
@@ -676,6 +676,13 @@ hwaccel_features = [
"""struct vda_context a = (struct vda_context) {
.use_ref_buffer = 1 }""", use='libav')
}, {
+ 'name': 'vda-av-vda-alloc-context',
+ 'desc': "libavcodec VDA hwaccel 1.2",
+ 'deps': [ 'vda-hwaccel' ],
+ 'func': check_statement('libavcodec/vda.h',
+ 'av_vda_alloc_context()',
+ use='libav')
+ }, {
'name': '--vda-gl',
'desc': 'VDA with OpenGL',
'deps': [ 'gl-cocoa', 'vda-hwaccel' ],