configure: Require building against at least ffmpeg 3.0
authorSebastian Dröge <sebastian@centricular.com>
Wed, 8 Feb 2017 14:10:52 +0000 (16:10 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 8 Feb 2017 14:10:52 +0000 (16:10 +0200)
See also https://bugzilla.gnome.org/show_bug.cgi?id=778283

configure.ac

index 910ffab..13c3c8e 100644 (file)
@@ -261,7 +261,7 @@ AC_ARG_WITH(system-libav,
 HAVE_LZMA="no"
 HAVE_BZ2="no"
 if test "x$with_system_libav" = "xyes"; then
-  PKG_CHECK_MODULES(LIBAV, libavfilter libavformat libavcodec libavutil)
+  PKG_CHECK_MODULES(LIBAV, libavfilter libavformat libavcodec >= 57 libavutil)
   PKG_CHECK_MODULES(SWSCALE, libswscale libavutil)
   saved_CPPFLAGS="$CPPFLAGS"
   CPPFLAGS="$CPPFLAGS $LIBAV_CFLAGS"