summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript14
1 files changed, 11 insertions, 3 deletions
diff --git a/wscript b/wscript
index f015b11eee..e25a7667ad 100644
--- a/wscript
+++ b/wscript
@@ -462,13 +462,19 @@ libav_dependencies = [
'req': True,
'fmsg': "FFmpeg/Libav development files not found.",
}, {
- 'name': 'is_ffmpeg',
- 'desc': 'libav* is FFmpeg',
+ 'name': 'is_ffmpeg_garbage',
+ 'desc': 'libav* is upstream FFmpeg (unsupported)',
# FFmpeg <=> LIBAVUTIL_VERSION_MICRO>=100
'func': check_statement('libavcodec/version.h',
'int x[LIBAVCODEC_VERSION_MICRO >= 100 ? 1 : -1]',
use='libavcodec')
}, {
+ 'name': 'is_ffmpeg',
+ 'desc': 'libav* is FFmpeg mpv modified version',
+ 'func': check_statement('libavcodec/version.h',
+ 'int x[LIBAVCODEC_MPV ? 1 : -1]',
+ use='libavcodec')
+ }, {
# This check should always result in the opposite of is_ffmpeg.
# Run it to make sure is_ffmpeg didn't fail for some other reason than
# the actual version check.
@@ -485,7 +491,9 @@ libav_dependencies = [
'func': check_ffmpeg_or_libav_versions(),
'req': True,
'fmsg': "Unable to find development files for some of the required \
-FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_string)
+FFmpeg/Libav libraries. You need at least {0}. For FFmpeg, the mpv fork, that \
+might contain additional fixes and features is required. It is available on \
+https://github.com/mpv-player/ffmpeg-mpv Aborting.".format(libav_versions_string)
}, {
'name': '--libavdevice',
'desc': 'libavdevice',