[Mplayer-cvslog] CVS: main/Gui interface.c,1.27,1.28

Zoltan Ponekker pontscho at mplayerhq.hu
Wed Jul 31 15:26:48 CEST 2002


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv24233

Modified Files:
	interface.c 
Log Message:
upsz 2

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- interface.c	30 Jul 2002 13:38:35 -0000	1.27
+++ interface.c	31 Jul 2002 13:26:38 -0000	1.28
@@ -84,7 +84,7 @@
  gtkAOOSSDevice=strdup( PATH_DEV_DSP );
  cfg_read();
  appInit( (void*)mDisplay );
- if ( plCurrent ) mplSetFileName( plCurrent->path,plCurrent->name );
+ if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name );
 #if defined( USE_OSD ) || defined( USE_SUB )
  guiLoadFont();
 #endif
@@ -315,7 +315,7 @@
 #endif
 	break;
    case guiSetDefaults:
-	if ( filename && gstrcmp( filename,guiIntfStruct.Filename ) )
+	if ( filename && !guiIntfStruct.Filename )
 	 {
 	  gtkSet( gtkDelPl,0,NULL ); guiIntfStruct.StreamType=STREAMTYPE_FILE;
 	  guiSetFilename( guiIntfStruct.Filename,filename );




More information about the MPlayer-cvslog mailing list