Mercurial > mplayer.hg
changeset 27424:16a31d136c68
Enable PNG encoder in libavcodec for vf_screenshot only if zlib is enabled.
based on a patch by Magnus Damm, magnus.damm gmail com
author | diego |
---|---|
date | Tue, 12 Aug 2008 07:16:18 +0000 |
parents | ab4f1051a088 |
children | 6a89c6949c08 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Aug 12 01:58:36 2008 +0000 +++ b/configure Tue Aug 12 07:16:18 2008 +0000 @@ -6877,7 +6877,8 @@ _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"