diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 9101b16..e5a880e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -672,11 +672,13 @@ if test x$ffmpeg_enabled = x1 | |||
672 | then | 672 | then |
673 | ffmpeg_enabled=0 | 673 | ffmpeg_enabled=0 |
674 | new_ffmpeg=0 | 674 | new_ffmpeg=0 |
675 | AC_CHECK_HEADERS([libavutil/frame.h],new_ffmpeg=1) | 675 | AC_CHECK_HEADERS([libavutil/frame.h], |
676 | AC_CHECK_HEADERS([libavresample/avresample.h],new_ffmpeg=1)) | ||
677 | |||
676 | AC_CHECK_LIB(swscale, sws_getContext, | 678 | AC_CHECK_LIB(swscale, sws_getContext, |
677 | AC_CHECK_LIB(avcodec, avcodec_alloc_context3, | 679 | AC_CHECK_LIB(avcodec, avcodec_alloc_context3, |
678 | ffmpeg_enabled=1)) | 680 | ffmpeg_enabled=1)) |
679 | AC_CHECK_HEADERS([libavutil/avutil.h ffmpeg/avutil.h libavformat/avformat.h ffmpeg/avformat.h libavcodec/avcodec.h ffmpeg/avcodec.h libswscale/swscale.h ffmpeg/swscale.h libavresample/avresample.h ffmpeg/avresample.h]) | 681 | AC_CHECK_HEADERS([libavutil/avutil.h ffmpeg/avutil.h libavformat/avformat.h ffmpeg/avformat.h libavcodec/avcodec.h ffmpeg/avcodec.h libswscale/swscale.h ffmpeg/swscale.h]) |
680 | fi | 682 | fi |
681 | AM_CONDITIONAL(HAVE_FFMPEG, test x$ffmpeg_enabled != x0) | 683 | AM_CONDITIONAL(HAVE_FFMPEG, test x$ffmpeg_enabled != x0) |
682 | AM_CONDITIONAL(HAVE_FFMPEG_NEW, test x$new_ffmpeg != x0) | 684 | AM_CONDITIONAL(HAVE_FFMPEG_NEW, test x$new_ffmpeg != x0) |
@@ -805,7 +807,7 @@ fi | |||
805 | 807 | ||
806 | if test "x$new_ffmpeg" = "x0" | 808 | if test "x$new_ffmpeg" = "x0" |
807 | then | 809 | then |
808 | AC_MSG_NOTICE([NOTICE: FFmpeg/opus audio preview plugin disabled]) | 810 | AC_MSG_NOTICE([NOTICE: FFmpeg/opus audio preview plugin disabled, It needs libav > 10, or a FFmpeg with --enable-libavresample]) |
809 | fi | 811 | fi |
810 | 812 | ||
811 | if test "x$without_gtk" = "xtrue" | 813 | if test "x$without_gtk" = "xtrue" |