[MPlayer-cvslog] r27456 - trunk/configure

diego subversion at mplayerhq.hu
Tue Aug 12 09:16:18 CEST 2008


Author: diego
Date: Tue Aug 12 09:16:18 2008
New Revision: 27456

Log:
Enable PNG encoder in libavcodec for vf_screenshot only if zlib is enabled.
based on a patch by Magnus Damm, magnus.damm gmail com


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Aug 12 09:16:18 2008
@@ -6877,7 +6877,8 @@ if test "$_mencoder" = yes ; then
   _def_muxers='#define CONFIG_MUXERS 1'
 else
   # mpeg1video for vf_lavc, snow for vf_uspp and vf_mcdeint, png for vf_screenshot
-  _libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER PNG_ENCODER"
+  _libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER"
+  test "$_zlib" = yes && _libavencoders="$_libavencoders PNG_ENCODER"
   _libavmuxers=""
 fi
 echores "$_mencoder"



More information about the MPlayer-cvslog mailing list