1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00

build: make avutil-mastering-metadata check slightly more robust

Fixes the specific scenario of compiling against a local Libav build,
while the system has FFmpeg installed.
This commit is contained in:
wm4 2016-08-18 14:55:43 +02:00
parent e02cb674ce
commit 0a0967f48b

View File

@ -508,7 +508,7 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_
}, { }, {
'name': 'avutil-mastering-metadata', 'name': 'avutil-mastering-metadata',
'desc': 'libavutil mastering display metadata struct', 'desc': 'libavutil mastering display metadata struct',
'func': check_statement('libavutil/mastering_display_metadata.h', 'func': check_statement('libavutil/frame.h',
'AV_FRAME_DATA_MASTERING_DISPLAY_METADATA', 'AV_FRAME_DATA_MASTERING_DISPLAY_METADATA',
use='libav'), use='libav'),
} }