From 9e04e319061495356277f647c1ce154e6b6cb6a4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 10 Sep 2015 22:13:52 +0200 Subject: video: do not use deprecated libavutil pixdesc fields These were normalized and are saner now. We want to use the new fields, and also get rid of the deprecation warnings, so use them. There's no release yet which uses these, so some ifdeffery is unfortunately needed. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index e6b89494e9..981f55b163 100644 --- a/wscript +++ b/wscript @@ -447,6 +447,12 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_ 'func': check_statement('libavutil/avutil.h', 'const char *x = av_version_info()', use='libav'), + }, { + 'name': 'av-new-pixdesc', + 'desc': 'libavutil new pixdesc fields', + 'func': check_statement('libavutil/pixdesc.h', + 'AVComponentDescriptor d; int x = d.depth', + use='libav'), } ] -- cgit v1.2.3