summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-10 22:13:52 +0200
committerwm4 <wm4@nowhere>2015-09-10 22:13:52 +0200
commit9e04e319061495356277f647c1ce154e6b6cb6a4 (patch)
treeab55b0d8ddeced86cf34c903f73b8c837f57706a /wscript
parenta8eae12af5064a823976e264b33c5a37bd447ef8 (diff)
downloadmpv-9e04e319061495356277f647c1ce154e6b6cb6a4.tar.bz2
mpv-9e04e319061495356277f647c1ce154e6b6cb6a4.tar.xz
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.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
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'),
}
]