[vlc-devel] commit: Option to link ffmpeg plugin with libdca when using a static ffmpeg ( Rafaël Carré )

git version control git at videolan.org
Sun May 25 16:00:46 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun May 25 16:02:10 2008 +0200| [77acf509d89e39c0bc48b5bdbb643b2e11ce2373]

Option to link ffmpeg plugin with libdca when using a static ffmpeg

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77acf509d89e39c0bc48b5bdbb643b2e11ce2373
---

 configure.ac |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5ac937f..053075c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3064,6 +3064,15 @@ dnl Those options have to be here because the .pc can be bogus for ffmpeg previo
              LDFLAGS="${LDFLAGS_save}"
      fi])
 
+ AC_ARG_WITH(ffmpeg-dca,
+   [    --with-ffmpeg-dca     specify if ffmpeg has been compiled with dca support],
+   [
+     if test "$with_ffmpeg_dca" = "yes"; then
+             LDFLAGS="${LDFLAGS_save} ${LDFLAGS_ffmpeg} ${LIBS_ffmpeg}"
+             AC_CHECK_LIB(dca, dca_free, [ VLC_ADD_LIBS([ffmpeg],[-ldca]) ])
+             LDFLAGS="${LDFLAGS_save}"
+     fi])
+
  AC_ARG_WITH(ffmpeg-vorbis,
    [    --with-ffmpeg-vorbis    specify if ffmpeg has been compiled with vorbis support],
    [




More information about the vlc-devel mailing list