From e77f19a8008c9d31ed2f9d8104c953b4d4247976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 7 Apr 2007 22:14:30 +0200 Subject: 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. --- contrib/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3