diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-04 22:42:06 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-04 22:42:06 +0200 |
commit | 4bb5ce0be62671f7c5127d969c682d57e971679b (patch) | |
tree | 1ce0510c5a8cca37a4106f43f4c5de1162f01a35 /configure.ac | |
parent | d5dcc19a006f898f21a5b081180a132c9dc6e638 (diff) | |
download | osc-graphics-4bb5ce0be62671f7c5127d969c682d57e971679b.tar.gz |
rewritten recorder using ffmpeg libs (without SDL_ffmpeg)
* SDL_ffmpeg was broken and is hard to get
* my implementation allows specifying an output codec. if the codec supports the screen's pixel format, no conversion is performed saving lots of performance (also beneficial for post-processing a recorded video)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 4af841d..30d5341 100644 --- a/configure.ac +++ b/configure.ac @@ -78,11 +78,10 @@ AC_CHECK_HEADERS([SDL_ttf.h], , [ AC_MSG_ERROR([Required libSDL_ttf header missing!]) ]) -AC_CHECK_LIB(SDL_ffmpeg, SDL_ffmpegOpen, , [ - AC_MSG_ERROR([Required libSDL_ffmpeg missing!]) -]) -AC_CHECK_HEADERS([SDL/SDL_ffmpeg.h libavcodec/avcodec.h], , [ - AC_MSG_ERROR([Required libSDL_ffmpeg header missing!]) +PKG_CHECK_MODULES(FFMPEG, [libavcodec libavformat libavutil libswscale], [ + CFLAGS="$CFLAGS $FFMPEG_CFLAGS" + CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS" + LIBS="$LIBS $FFMPEG_LIBS" ]) PKG_CHECK_MODULES(LIBVLC, [libvlc >= 1.1.10], [ |