comparison Gui/interface.c @ 14181:6ecf5fca82e2

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...
author reimar
date Sat, 18 Dec 2004 10:30:17 +0000
parents b8ba18471f4a
children 21e72b6d8d11
comparison
equal deleted inserted replaced
14180:6f40d266143a 14181:6ecf5fca82e2
174 174
175 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) ); 175 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) );
176 #ifdef HAVE_DXR3 176 #ifdef HAVE_DXR3
177 if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" ); 177 if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" );
178 #endif 178 #endif
179 if ( stream_cache_size != -1 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; } 179 if ( stream_cache_size > 0 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; }
180 else gtkCacheOn = 0;
180 if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; } 181 if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; }
181 182
182 gtkInit(); 183 gtkInit();
183 // --- initialize X 184 // --- initialize X
184 wsXInit( (void *)mDisplay ); 185 wsXInit( (void *)mDisplay );