mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
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:
parent
1dccc1979c
commit
ef97d3827a
3
configure
vendored
3
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user