summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-14 18:20:13 +0200
committerwm4 <wm4@nowhere>2016-04-14 18:20:13 +0200
commite13cc25a2ca815f6351def8ebb6e18a89b46b6b5 (patch)
tree460a1f8a2e11f1ebcd75cc354aeccb3b84f73310 /wscript
parent0467f5287debc3d37b9992f12912ee72c011468d (diff)
downloadmpv-e13cc25a2ca815f6351def8ebb6e18a89b46b6b5.tar.bz2
mpv-e13cc25a2ca815f6351def8ebb6e18a89b46b6b5.tar.xz
build: add check for AVHWFramesContext API
It's not used yet anywhere. Pushing this now so switching between branches is less bothersome.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index 6d77932681..a4ffce6031 100644
--- a/wscript
+++ b/wscript
@@ -496,6 +496,12 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_
'func': check_statement('libavformat/avformat.h',
'(void)offsetof(AVStream, codecpar)',
use='libav'),
+ }, {
+ 'name': 'avutil-has-hwcontext',
+ 'desc': 'libavutil AVHWFramesContext API',
+ 'func': check_statement('libavutil/frame.h',
+ '(void)offsetof(AVFrame, hw_frames_ctx)',
+ use='libav'),
},
]