mirror of https://github.com/odrling/Aegisub
Add a check for libavutil/pixfmt.h as a low-brow check for FFMPEG r18129+, this
needs to be fixed to check exact versions of the library. For now this should work. Originally committed to SVN as r2778.
This commit is contained in:
parent
77a4983219
commit
bf5146f937
|
@ -661,10 +661,14 @@ else
|
|||
with_provider_ffmpegsource="no"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([HAVE_PROVIDER_FFMPEGSOURCE], [test "$with_provider_ffmpegsource" = "yes"])
|
||||
AC_SUBST(LIBPOSTPROC_LIBS)
|
||||
AC_SUBST(LIBPOSTPROC_CFLAGS)
|
||||
|
||||
# XXX: Fix this to be a proper check.
|
||||
AC_CHECK_HEADER([libavutil/pixfmt.h],,[AC_MSG_WARN([FFmpegSource2 requires FFMPEG r18129 or newer]); with_provider_ffmpegsource="no"])
|
||||
|
||||
AM_CONDITIONAL([HAVE_PROVIDER_FFMPEGSOURCE], [test "$with_provider_ffmpegsource" = "yes"])
|
||||
|
||||
|
||||
|
||||
###################
|
||||
|
@ -1345,7 +1349,7 @@ A/V Support
|
|||
|
||||
Video Providers
|
||||
FFMPEG: $with_provider_ffmpeg $ffmpeg_provider_disabled
|
||||
FFmpegSource: $with_provider_ffmpegsource $ffmpegsource_provider_disabled
|
||||
FFmpegSource: $with_provider_ffmpegsource $ffmpegsource_provider_disabled (requires FFMPEG r18129 or newer)
|
||||
|
||||
Subtitle Providers:
|
||||
CSRI (ASA): $with_csri $csri_disabled $csri_default
|
||||
|
|
Loading…
Reference in New Issue