diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-04-09 12:29:13 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-04-09 12:29:13 +0000 |
commit | 8adb11422ca6447514110be3479c7dab037adad9 (patch) | |
tree | 2be58a3f73b359b3767c4d729c2c338508578d96 | |
parent | 1689158d8490df5357f238139ddb39b9cbf4f003 (diff) | |
download | xine-lib-8adb11422ca6447514110be3479c7dab037adad9.tar.gz xine-lib-8adb11422ca6447514110be3479c7dab037adad9.tar.bz2 |
the most obvious real codecs path was missing from autodetection
CVS patchset: 4578
CVS date: 2003/04/09 12:29:13
-rw-r--r-- | src/libreal/audio_decoder.c | 7 | ||||
-rw-r--r-- | 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 |