From e13cc25a2ca815f6351def8ebb6e18a89b46b6b5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Apr 2016 18:20:13 +0200 Subject: build: add check for AVHWFramesContext API It's not used yet anywhere. Pushing this now so switching between branches is less bothersome. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') 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'), }, ] -- cgit v1.2.3