[Mplayer-cvslog] CVS: main/Gui app.c,1.2,1.3

Arpi of Ize arpi at mplayer.dev.hu
Sun Aug 26 01:00:57 CEST 2001


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

Modified Files:
	app.c 
Log Message:
commented

Index: app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- app.c	25 Aug 2001 21:08:09 -0000	1.2
+++ app.c	25 Aug 2001 23:00:55 -0000	1.3
@@ -107,18 +107,18 @@
  if ( ( skinMPlayerDir=(char *)calloc( 1,strlen( appMPlayerDir ) + 5 ) ) != NULL )
   { strcpy( skinMPlayerDir,appMPlayerDir ); strcat( skinMPlayerDir,"/Skin" ); }
 
- initDebug(NULL);
+ initDebug(NULL); // write messages to stderr
 
- cfgDefaults();
- cfgRead();
- if ( !strcmp( cfgAppName,"movieplayer" ) )
-  {
+ cfgDefaults(); // set skin to "default"
+ cfgRead();     // empty function - NOP
+// if ( !strcmp( cfgAppName,"movieplayer" ) )
+//  {
    appMPlayer.sub.x=-1; appMPlayer.sub.y=-1; appMPlayer.sub.width=512; appMPlayer.sub.height=256;
    switch ( skinRead( cfgSkin ) )
     {
      case -1: dbprintf( 0,"[app] skin configfile not found.\n" ); exit( 0 );
      case -2: dbprintf( 0,"[app] skin configfile read error.\n" ); exit( 0 );
     }
-   mplInit( argc,argv,envp );
-  }
+   mplInit( argc,argv,envp ); // does gtk & ws initialization, create windows
+//  }
 }




More information about the MPlayer-cvslog mailing list