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
This commit is contained in:
diego 2008-08-12 07:16:18 +00:00
parent 1dccc1979c
commit ef97d3827a
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -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"