diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-03-23 17:56:05 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-05-12 12:59:16 +0200 |
commit | e0e79a2e7edaa86e680553a47f46ebbe78c98df9 (patch) | |
tree | 9f664c12207382a28d0ae41e2ea8ce5f162e3290 /wscript | |
parent | dab56b5fd5b1e9e0b1492305c37aede88c500876 (diff) | |
download | mpv-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-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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' ], |