summaryrefslogtreecommitdiff
path: root/src/xine-engine/osd.c
diff options
context:
space:
mode:
authorHeiko Schaefer <heikos@users.sourceforge.net>2002-09-01 13:49:27 +0000
committerHeiko Schaefer <heikos@users.sourceforge.net>2002-09-01 13:49:27 +0000
commitd3c07765572cda52ebf3984f34947c18845a3193 (patch)
tree9a708099ee5ae060bfc184e898e6cc79d89be4c2 /src/xine-engine/osd.c
parentaa6b9f1114c4b54d9b8256f523b2ab7d92354522 (diff)
downloadxine-lib-d3c07765572cda52ebf3984f34947c18845a3193.tar.gz
xine-lib-d3c07765572cda52ebf3984f34947c18845a3193.tar.bz2
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
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); */
+
}
}