commit b363228d35353f613c30f1b5344187d5f6b4c447
parent d07e0d17678a99816962687d75c085b1b690efe7
Author: Bruno Cabral <brataoufba@gmail.com>
Date: Sat, 21 Dec 2013 03:19:22 +0000
Do not depend on older ffmpeg
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -672,7 +672,7 @@ if test x$ffmpeg_enabled = x1
then
ffmpeg_enabled=0
new_ffmpeg=0
- AC_CHECK_HEADERS([libavutil/frame.h],
+ AC_CHECK_HEADERS([libavutil/avutil.h libavformat/avformat.h libavcodec/avcodec.h libavutil/frame.h],
AC_CHECK_HEADERS([libavresample/avresample.h],new_ffmpeg=1))
AC_CHECK_LIB(swscale, sws_getContext,
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
@@ -70,15 +70,13 @@ if HAVE_FFMPEG
# FFmpeg-thumbnailer requires MAGIC and FFMPEG
PLUGIN_FFMPEG=libextractor_thumbnailffmpeg.la
TEST_FFMPEG=test_thumbnailffmpeg
-
+endif
if HAVE_FFMPEG_NEW
PLUGIN_PREVIEWOPUS=libextractor_previewopus.la
TEST_PREVIEWOPUS=test_previewopus
endif
-endif
-
if HAVE_GTK
# Gtk-thumbnailer requires MAGIC and GTK
PLUGIN_GTK=libextractor_thumbnailgtk.la