From 7c670da089aece81fe7f4312a7de1a2e7f63a66a Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Fri, 14 Mar 2003 21:37:53 +0000 Subject: don't attempt to load xine plugins from vidix driver directory CVS patchset: 4418 CVS date: 2003/03/14 21:37:53 --- src/xine-engine/load_plugins.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/load_plugins.c') diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index b1af97b32..6ff102b97 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.143 2003/03/12 14:44:08 miguelfreitas Exp $ + * $Id: load_plugins.c,v 1.144 2003/03/14 21:37:53 jstembridge Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -382,7 +382,8 @@ static void collect_plugins(xine_t *this, char *path){ break; case S_IFDIR: - if (*pEntry->d_name != '.'){ /* unless ".", ".." or ".hidden" dirs */ + /* unless ".", "..", ".hidden" or vidix driver dirs */ + if (*pEntry->d_name != '.' && strcmp(pEntry->d_name, "vidix")) { collect_plugins(this, str); } } /* switch */ -- cgit v1.2.3