diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-12-16 01:50:52 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-12-16 01:50:52 +0000 |
commit | b307d93060443b1c226205e60c0780cdf4b29aa3 (patch) | |
tree | fb43e9f352b7c5b5f0fea2963c31f5d25e738900 /src | |
parent | 45388c5c768507dd6c8ae420b74a893fe7d22698 (diff) | |
download | xine-lib-b307d93060443b1c226205e60c0780cdf4b29aa3.tar.gz xine-lib-b307d93060443b1c226205e60c0780cdf4b29aa3.tar.bz2 |
log info
CVS patchset: 3557
CVS date: 2002/12/16 01:50:52
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/load_plugins.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 8a079e4c5..d1a87219f 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.121 2002/12/13 21:31:38 guenter Exp $ + * $Id: load_plugins.c,v 1.122 2002/12/16 01:50:52 guenter Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -305,8 +305,14 @@ static void collect_plugins(xine_t *this, char *path){ printf ("load_plugins: cannot open plugin lib %s:\n%s\n", str, dl_error_msg); } - } - else { +#ifdef LOG + { + char *dl_error_msg = dlerror(); + printf ("load_plugins: cannot open plugin lib %s:\n%s\n", + str, dl_error_msg); + } +#endif + } else { if (info || (info = dlsym(lib, "xine_plugin_info"))) { |