summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-07 22:14:30 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-07 22:14:30 +0200
commite77f19a8008c9d31ed2f9d8104c953b4d4247976 (patch)
treea01c8b40c7f68e124b489f50749938139cdffa08
parenteb8f03a80539f0ce63246811210a374d092aeb00 (diff)
downloadxine-lib-e77f19a8008c9d31ed2f9d8104c953b4d4247976.tar.gz
xine-lib-e77f19a8008c9d31ed2f9d8104c953b4d4247976.tar.bz2
Enable mpeg1video encoder when DXR3 is enabled.
We only use the mpeg1video encoder from FFmpeg, and only when DXR3 output is enabled, so provide the correct options to FFmpeg's ./configure to enable it only when really needed.
-rw-r--r--contrib/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 16444bd46..48cc90ca8 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -5,12 +5,16 @@ CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
VISIBILITY_FLAG = @VISIBILITY_FLAG@
+if HAVE_DXR3
+dxr3encoder = --enable-encoder=mpeg1video
+endif
+
ffmpeg/config.mak: $(srcdir)/ffmpeg/configure Makefile
mkdir -p ffmpeg
cd ffmpeg; \
$(srcdir)/ffmpeg/configure \
--disable-shared --enable-static \
- --disable-encoders \
+ --disable-encoders $(dxr3encoder) \
--disable-demuxers \
--disable-muxers \
--disable-strip \