[vlc-commits] Contribs: disable FFmpeg/libav programs only when cross-compiling

Jean-Baptiste Kempf git at videolan.org
Wed Jan 28 17:02:28 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jan 28 17:01:49 2015 +0100| [8a72b02af5c867d32ede00f53e9e67c50818c282] | committer: Jean-Baptiste Kempf

Contribs: disable FFmpeg/libav programs only when cross-compiling

It can be useful to test avplay/ffplay localy

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

 contrib/src/ffmpeg/rules.mak |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 6b94cbb..d9a9d5c 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -26,7 +26,6 @@ FFMPEGCONF = \
 	--disable-filters \
 	--disable-bsfs \
 	--disable-bzlib \
-	--disable-programs \
 	--disable-avresample
 
 ifdef USE_FFMPEG
@@ -59,7 +58,7 @@ endif
 endif
 
 ifdef HAVE_CROSS_COMPILE
-FFMPEGCONF += --enable-cross-compile
+FFMPEGCONF += --enable-cross-compile --disable-programs
 ifndef HAVE_DARWIN_OS
 FFMPEGCONF += --cross-prefix=$(HOST)-
 endif



More information about the vlc-commits mailing list