From 8adb11422ca6447514110be3479c7dab037adad9 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 9 Apr 2003 12:29:13 +0000 Subject: the most obvious real codecs path was missing from autodetection CVS patchset: 4578 CVS date: 2003/04/09 12:29:13 --- src/libreal/audio_decoder.c | 7 +++++-- src/libreal/xine_decoder.c | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c index f4e3ee0e1..250aebeea 100644 --- a/src/libreal/audio_decoder.c +++ b/src/libreal/audio_decoder.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2002 the xine project + * Copyright (C) 2000-2003 the xine project * * This file is part of xine, a free video player. * @@ -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.22 2003/04/04 19:20:50 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.23 2003/04/09 12:29:13 guenter Exp $ * * thin layer to use real binary-only codecs in xine * @@ -741,6 +741,9 @@ static void *init_class (xine_t *xine, void *data) { if (!stat ("/usr/lib/RealPlayer9/users/Real/Codecs/drv3.so.6.0", &s)) config->update_string (config, "codec.real_codecs_path", "/usr/lib/RealPlayer9/users/Real/Codecs"); + if (!stat ("/usr/lib/win32/drv3.so.6.0", &s)) + config->update_string (config, "codec.real_codecs_path", + "/usr/lib/win32"); } #ifdef LOG diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c index b6d5756ce..2ff895291 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.33 2003/04/04 19:20:50 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.34 2003/04/09 12:29:13 guenter Exp $ * * thin layer to use real binary-only codecs in xine * @@ -618,6 +618,9 @@ static void *init_class (xine_t *xine, void *data) { if (!stat ("/usr/lib/RealPlayer9/users/Real/Codecs/drv3.so.6.0", &s)) config->update_string (config, "codec.real_codecs_path", "/usr/lib/RealPlayer9/users/Real/Codecs"); + if (!stat ("/usr/lib/win32/drv3.so.6.0", &s)) + config->update_string (config, "codec.real_codecs_path", + "/usr/lib/win32"); } #ifdef LOG -- cgit v1.2.3