summaryrefslogtreecommitdiff
path: root/src/xine-engine/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/osd.c')
-rw-r--r--src/xine-engine/osd.c18
1 files changed, 13 insertions, 5 deletions
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); */
+
}
}