[MPlayer-cvslog] r18746 - trunk/Gui/interface.c

reimar subversion at mplayerhq.hu
Sat Jun 17 22:54:27 CEST 2006


Author: reimar
Date: Sat Jun 17 22:54:27 2006
New Revision: 18746

Modified:
   trunk/Gui/interface.c

Log:
respect saved default for cache enable when nothing specified on
command-line


Modified: trunk/Gui/interface.c
==============================================================================
--- trunk/Gui/interface.c	(original)
+++ trunk/Gui/interface.c	Sat Jun 17 22:54:27 2006
@@ -213,7 +213,7 @@
  if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" );
 #endif
  if ( stream_cache_size > 0 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; }
- else gtkCacheOn = 0;
+ else if ( stream_cache_size == 0 ) gtkCacheOn = 0;
  if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; }
    
  gtkInit();



More information about the MPlayer-cvslog mailing list