From d3c07765572cda52ebf3984f34947c18845a3193 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Sun, 1 Sep 2002 13:49:27 +0000 Subject: this is not a fix - but at least a52 passthrough should work again now CVS patchset: 2579 CVS date: 2002/09/01 13:49:27 --- src/xine-engine/osd.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'src/xine-engine/osd.c') diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c index 6afd5b303..bff328206 100644 --- a/src/xine-engine/osd.c +++ b/src/xine-engine/osd.c @@ -745,19 +745,27 @@ static void osd_load_fonts (osd_renderer_t *this, char *path) { len = strlen (entry->d_name); if ( (len>12) && !strncmp (&entry->d_name[len-12], ".xinefont.gz", 12)) { - + #ifdef LOG_DEBUG - printf ("osd: trying to load font >%s< (ending >%s<)\n", - entry->d_name,&entry->d_name[len-12]); + printf ("osd: trying to load font >%s< (ending >%s<)\n", + entry->d_name,&entry->d_name[len-12]); #endif sprintf (pathname, "%s/%s", path, entry->d_name); - + osd_renderer_load_font (this, pathname); } } - closedir (dir); + + /* + * for a reason that is still unknown this closedir breaks + * ac3 passthrough (at least for oss). + * Needs to be investigted further... + * -- Heiko + */ + /* closedir (dir); */ + } } -- cgit v1.2.3