mirror of
https://github.com/mpv-player/mpv
synced 2025-01-29 19:22:48 +00:00
FF_POSTPROCESS shouldn't be defined if there is no ffmpeg's libavcodec found
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2752 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
20c8c1aea2
commit
77efab6364
5
configure
vendored
5
configure
vendored
@ -1999,17 +1999,20 @@ if test "$_libavcodec" = yes ; then
|
||||
_lavcdep='libavcodec/libavcodec.a'
|
||||
_libavcodec='#define USE_LIBAVCODEC'
|
||||
_libavcodecso='#undef USE_LIBAVCODEC_SO'
|
||||
_ffpostprocess='#define FF_POSTPROCESS'
|
||||
else
|
||||
if test "$_libavcodec_so" = yes ; then
|
||||
_lavclib='-lffmpeg'
|
||||
_lavcdep=''
|
||||
_libavcodec='#define USE_LIBAVCODEC'
|
||||
_libavcodecso='#define USE_LIBAVCODEC_SO'
|
||||
_ffpostprocess='#define FF_POSTPROCESS'
|
||||
else
|
||||
_lavclib=''
|
||||
_lavcdep=''
|
||||
_libavcodec='#undef USE_LIBAVCODEC'
|
||||
_libavcodecso='#undef USE_LIBAVCODEC'
|
||||
_ffpostprocess='#undef FF_POSTPROCESS'
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -2653,7 +2656,7 @@ $_cssdef
|
||||
#define MPEG12_POSTPROC
|
||||
|
||||
/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
|
||||
#define FF_POSTPROCESS
|
||||
$_ffpostprocess
|
||||
|
||||
#define HAVE_ODIVX_POSTPROCESS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user