From a96fcd8f3c612a89f78579c4a3417e216eae7445 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 21 Dec 2002 18:59:46 +0000 Subject: path used by realplayer rpm packages CVS patchset: 3618 CVS date: 2002/12/21 18:59:46 --- src/libreal/audio_decoder.c | 5 ++++- src/libreal/xine_decoder.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c index 4b08831b3..a94ef2dd6 100644 --- a/src/libreal/audio_decoder.c +++ b/src/libreal/audio_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_decoder.c,v 1.14 2002/12/21 12:56:48 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.15 2002/12/21 18:59:46 miguelfreitas Exp $ * * thin layer to use real binary-only codecs in xine * @@ -725,6 +725,9 @@ static void *init_class (xine_t *xine, void *data) { if (!stat ("/usr/RealPlayer8/Codecs/drv3.so.6.0", &s)) config->update_string (config, "codec.real_codecs_path", "/usr/RealPlayer8/Codecs"); + if (!stat ("/usr/lib/RealPlayer8/Codecs/drv3.so.6.0", &s)) + config->update_string (config, "codec.real_codecs_path", + "/usr/lib/RealPlayer8/Codecs"); if (!stat ("/opt/RealPlayer8/Codecs/drv3.so.6.0", &s)) config->update_string (config, "codec.real_codecs_path", "/opt/RealPlayer8/Codecs"); diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c index d7ef48566..d051c3386 100644 --- a/src/libreal/xine_decoder.c +++ b/src/libreal/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.20 2002/12/21 15:31:15 esnel Exp $ + * $Id: xine_decoder.c,v 1.21 2002/12/21 18:59:46 miguelfreitas Exp $ * * thin layer to use real binary-only codecs in xine * @@ -567,6 +567,9 @@ static void *init_class (xine_t *xine, void *data) { if (!stat ("/usr/RealPlayer8/Codecs/drv3.so.6.0", &s)) config->update_string (config, "codec.real_codecs_path", "/usr/RealPlayer8/Codecs"); + if (!stat ("/usr/lib/RealPlayer8/Codecs/drv3.so.6.0", &s)) + config->update_string (config, "codec.real_codecs_path", + "/usr/lib/RealPlayer8/Codecs"); if (!stat ("/opt/RealPlayer8/Codecs/drv3.so.6.0", &s)) config->update_string (config, "codec.real_codecs_path", "/opt/RealPlayer8/Codecs"); -- cgit v1.2.3