summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Orgis <thomas@orgis.org>2012-05-06 19:29:14 +0300
committerUoti Urpala <uau@mplayer2.org>2012-05-07 01:10:25 +0300
commit9bf03e8b65dbebb66d5e5b31efa4bae4324b05b2 (patch)
tree0a0d23ac8e25106b5ee6609a315ba66c984ac442 /configure
parent10d4795ed9f2c9d322fa108cec8f558951b7d363 (diff)
downloadmpv-9bf03e8b65dbebb66d5e5b31efa4bae4324b05b2.tar.bz2
mpv-9bf03e8b65dbebb66d5e5b31efa4bae4324b05b2.tar.xz
ad_mpg123: update libmpg123 API use
Improve ad_mpg123, including use of the more efficient framewise decoding with mpg123 version 1.14 or later (older versions are still supported).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 17cbce33a4..6e90b4861d 100755
--- a/configure
+++ b/configure
@@ -5326,12 +5326,13 @@ else
fi
echores "$_theora"
-# Any version of libmpg123 shall be fine.
+# Any version of libmpg123 that knows MPG123_RESYNC_LIMIT shall be fine.
+# That is, 1.2.0 onwards. Recommened is 1.14 onwards, though.
echocheck "mpg123 support"
def_mpg123='#undef CONFIG_MPG123'
if test "$_mpg123" = auto; then
_mpg123=no
- pkg_config_add libmpg123 && _mpg123=yes
+ pkg_config_add 'libmpg123 >= 1.2.0' && _mpg123=yes
fi
if test "$_mpg123" = yes ; then
def_mpg123='#define CONFIG_MPG123 1'