mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 13:21:13 +00:00
respect saved default for cache enable when nothing specified on
command-line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18746 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
320bcf39be
commit
dcd2a8f274
@ -213,7 +213,7 @@ void guiInit( void )
|
|||||||
if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" );
|
if ( !gtkDXR3Device ) gtkDXR3Device=strdup( "/dev/em8300-0" );
|
||||||
#endif
|
#endif
|
||||||
if ( stream_cache_size > 0 ) { gtkCacheOn=1; gtkCacheSize=stream_cache_size; }
|
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; }
|
if ( autosync && autosync != gtkAutoSync ) { gtkAutoSyncOn=1; gtkAutoSync=autosync; }
|
||||||
|
|
||||||
gtkInit();
|
gtkInit();
|
||||||
|
Loading…
Reference in New Issue
Block a user