mirror of https://github.com/mpv-player/mpv
change logic for detecting real codecs dir (loop in to prefer RealPlayer 9 codecs
over RealPlayer 8 codecs) and add another codecs location as used by RealPlayer9 on gentoo. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10101 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
65bce6d1ca
commit
6932244e6c
|
@ -4301,10 +4301,11 @@ if test "$_real" = auto ; then
|
|||
if test -z "$_reallibdir" ; then
|
||||
for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \
|
||||
/usr/lib/RealPlayer*/Codecs /usr/local/RealPlayer*/Codecs \
|
||||
/usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs; do
|
||||
/usr/local/lib/RealPlayer*/Codecs /opt/RealPlayer*/Codecs \
|
||||
/opt/RealPlayer*/Real/Codecs; do
|
||||
if test -d "$I" ; then
|
||||
_reallibdir="$I"
|
||||
break;
|
||||
#break; 8 comes before 9 so loop on ::atmos
|
||||
fi;
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue