[vlc-devel] [PATCH] Contribs: ffmpeg, enable small when deactivating encoder

Jean-Baptiste Kempf jb at videolan.org
Sat Feb 4 14:31:54 CET 2012


On Sat, Feb 04, 2012 at 02:27:33PM +0100, Jean-Baptiste Kempf wrote :
> ---
>  contrib/src/ffmpeg/rules.mak |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
> index 98ce743..3255134 100644
> --- a/contrib/src/ffmpeg/rules.mak
> +++ b/contrib/src/ffmpeg/rules.mak
> @@ -30,7 +30,7 @@ FFMPEGCONF += --enable-libmp3lame --enable-libvpx
>  DEPS_ffmpeg += lame $(DEPS_lame) vpx $(DEPS_vpx)
>  else
>  FFMPEGCONF += --disable-encoders --disable-muxers
> -# XXX: REVISIT --enable-small ?
> +FFMPEGCONF += --enable-small --optflags=-O2
>  endif

So, this is a quite quick solution. But maybe we should de-couple
small and encoders-deactivation.
I just thought that if you deactivate encoders, this is mainly because
you are on embedded devices, so you need small.

Opinions?

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list