diff options
author | wm4 <wm4@nowhere> | 2015-09-10 22:13:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-10 22:13:52 +0200 |
commit | 9e04e319061495356277f647c1ce154e6b6cb6a4 (patch) | |
tree | ab55b0d8ddeced86cf34c903f73b8c837f57706a /wscript | |
parent | a8eae12af5064a823976e264b33c5a37bd447ef8 (diff) | |
download | mpv-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-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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'), } ] |