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/metronom.c | 6 +++--- src/xine-engine/osd.c | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index ba1619154..2d29697aa 100644 --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.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: metronom.c,v 1.88 2002/08/27 07:10:13 jcdutton Exp $ + * $Id: metronom.c,v 1.89 2002/09/01 13:49:27 heikos Exp $ */ #ifdef HAVE_CONFIG_H @@ -52,9 +52,9 @@ i guess llabs may not be available everywhere */ #define abs(x) ( (x<0) ? (-x) : (x) ) -/* + #define LOG -*/ + /* * **************************************** 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