mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
Simplify Tremor low accuracy test, label external Tremor as such.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19340 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -5573,16 +5573,12 @@ if test "$_vorbis" = yes ; then
|
||||
# do not set _ld_vorbis as it is resolved separately
|
||||
# mp3lame support for vorbis is deprecated so don't care
|
||||
_def_tremor='#define TREMOR 1'
|
||||
if test "$_tremor_low" = yes ; then
|
||||
_tremor_flags='-D_LOW_ACCURACY_'
|
||||
else
|
||||
_tremor_flags=''
|
||||
fi
|
||||
_codecmodules="tremor(internal) $_codecmodules"
|
||||
test "$_tremor_low" = yes && _tremor_flags='-D_LOW_ACCURACY_'
|
||||
elif test "$_tremor_external" = yes ; then
|
||||
_def_tremor='#define TREMOR 1'
|
||||
_ld_vorbis='-lvorbisidec'
|
||||
_codecmodules="tremor $_codecmodules"
|
||||
_codecmodules="tremor(external) $_codecmodules"
|
||||
else
|
||||
_def_tremor='#undef TREMOR'
|
||||
_ld_vorbis='-lvorbis -logg'
|
||||
|
||||
Reference in New Issue
Block a user