Mercurial > mplayer.hg
changeset 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 | 6f40d266143a |
children | 584551fb6586 |
files | Gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/interface.c Sat Dec 18 09:41:16 2004 +0000 +++ b/Gui/interface.c Sat Dec 18 10:30:17 2004 +0000 @@ -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();