From: <ans...@gm...> - 2007-09-19 17:29:52
|
# HG changeset patch # User Anssi Hannula <ans...@gm...> # Date 1189948905 -3600 # Node ID 8a6468a20b5ad8837098febbdcee4344a4e07dbe # Parent 6d7250703a09f38b33c86448a2a38520372159eb add two real codec search paths The attached patch to xine-lib adds two more real codec search paths. /usr/lib/real is encountered in PLF packages for Mandriva, and /usr/lib/RealPlayer10GOLD/codecs is encountered in RealPlayer package of Mandriva. diff -r 8a6468a20b5ad8837098febbdcee4344a4e07dbe -r 6d7250703a09f38b33c86448a2a38520372159eb src/libreal/real_common.c --- a/src/libreal/real_common.c Sun Sep 16 14:21:45 2007 +0100 +++ b/src/libreal/real_common.c Tue Sep 11 17:07:51 2007 +0100 @@ -89,6 +89,8 @@ void _x_real_codecs_init(xine_t *const x /* The priority is for the first found */ try_real_subpath("lib/win32") else try_real_subpath("lib/codecs") + else try_real_subpath("lib/real") + else try_real_subpath("lib/RealPlayer10GOLD/codecs") else try_real_subpath("lib64/RealPlayer10/codecs") else try_real_subpath("lib/RealPlayer10/codecs") else try_real_subpath("lib64/RealPlayer9/users/Real/Codecs") |