diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-12 07:16:18 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-12 07:16:18 +0000 |
commit | ef97d3827aee450a35e53e4395044f64e1b65b8b (patch) | |
tree | 72f0ac87abcf99015bd391115291b01724de48c9 | |
parent | 1dccc1979c882b834ee34289f6020f41a896e53d (diff) |
Enable PNG encoder in libavcodec for vf_screenshot only if zlib is enabled.
based on a patch by Magnus Damm, magnus.damm gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27456 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |