[MPlayer-cvslog] CVS: main/Gui interface.c,1.99,1.100

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Dec 18 11:30:20 CET 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/Gui
In directory mail:/var2/tmp/cvs-serv16467/Gui

Modified Files:
	interface.c 
Log Message:
Fixes the bug that after opening the preferences panel gmplayer plays files
very slowly. Seems this was because it used a 4 byte cache afterwards...


Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- interface.c	17 Dec 2004 20:32:46 -0000	1.99
+++ interface.c	18 Dec 2004 10:30:17 -0000	1.100
@@ -176,7 +176,8 @@
 #ifdef HAVE_DXR3
  if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" );
 #endif
- if ( stream_cache_size != -1 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; }
+ if ( stream_cache_size > 0 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; }
+ else gtkCacheOn = 0;
  if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; }
    
  gtkInit();




More information about the MPlayer-cvslog mailing list