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:
parent
e02cb674ce
commit
0a0967f48b
2
wscript
2
wscript
@ -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'),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user