diff options
author | wm4 <wm4@nowhere> | 2016-04-14 18:20:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-14 18:20:13 +0200 |
commit | e13cc25a2ca815f6351def8ebb6e18a89b46b6b5 (patch) | |
tree | 460a1f8a2e11f1ebcd75cc354aeccb3b84f73310 /wscript | |
parent | 0467f5287debc3d37b9992f12912ee72c011468d (diff) | |
download | mpv-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-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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'), }, ] |