[Mplayer-cvslog] CVS: main/loader driver.c,1.4,1.5 registry.c,1.4,1.5 setup_FS.c,1.1,1.2 win32.c,1.6,1.7

GEREOFFY arpi_esp at users.sourceforge.net
Wed Apr 11 03:38:59 CEST 2001


Update of /cvsroot/mplayer/main/loader
In directory usw-pr-cvs1:/tmp/cvs-serv11038/loader

Modified Files:
	driver.c registry.c setup_FS.c win32.c 
Log Message:
less, and more informal printfs

Index: driver.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/driver.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** driver.c	2001/03/28 21:44:26	1.4
--- driver.c	2001/04/11 01:38:57	1.5
***************
*** 175,179 ****
              
              result=func(id, &IID_IClassFactory, (void**)&factory);
!             if(result || (!factory)) printf("No such class object\n");
  
              printf("Calling factory->vt->CreateInstance()\n");
--- 175,179 ----
              
              result=func(id, &IID_IClassFactory, (void**)&factory);
!             if(result || (!factory)) printf("No such class object (wrong/missing GUID?)\n");
  
              printf("Calling factory->vt->CreateInstance()\n");
***************
*** 222,226 ****
       }
       
!      printf("Successfully loaded codec %s\n",win32_codec_name);
       
       return (hDriver);
--- 222,226 ----
       }
       
! //     printf("Successfully loaded codec %s\n",win32_codec_name);
       
       return (hDriver);

Index: registry.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/registry.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** registry.c	2001/03/21 00:14:42	1.4
--- registry.c	2001/04/11 01:38:57	1.5
***************
*** 266,270 ****
--- 266,272 ----
  static void init_registry()
  {
+ #ifdef DETAILED_OUT
  	printf("Initializing registry\n");
+ #endif
  	open_registry();
  	insert_handle(HKEY_LOCAL_MACHINE, "HKLM");

Index: setup_FS.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/setup_FS.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** setup_FS.c	2001/03/28 21:44:26	1.1
--- setup_FS.c	2001/04/11 01:38:57	1.2
***************
*** 57,65 ****
--- 57,69 ----
  void setup_FS_Segment()
  {
+ #ifdef DETAILED_OUT
      printf("Setup FS...");fflush(stdout);
+ #endif
      __asm__ __volatile__(
  	"movl %0,%%eax; movw %%ax, %%fs" : : "i" (TEB_SEL)
      );
+ #ifdef DETAILED_OUT
      printf("OK!\n");
+ #endif
  }
  

Index: win32.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/win32.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** win32.c	2001/04/06 16:29:55	1.6
--- win32.c	2001/04/11 01:38:57	1.7
***************
*** 1578,1582 ****
      char qq[256];
      int result;
-     printf("They want library [%s] %s\n", def_path, name);
      if(strncmp(name, "c:\\windows\\", 11)==0)name+=11;
      if(name[0]!='/')
--- 1578,1581 ----
***************
*** 1589,1595 ****
  	    strcat(qq, name);
      }
!     printf("Entering LoadLibraryA(%s)\n", name);
      result=LoadLibraryA(qq);
!     printf("Returned LoadLibraryA(0x%x='%s'), def_path=%s => 0x%x\n", name, name, def_path, result);
      return result;
  }      
--- 1588,1595 ----
  	    strcat(qq, name);
      }
!     printf("Loading DLL: %s\n", qq);
! //    printf("Entering LoadLibraryA(%s)\n", name);
      result=LoadLibraryA(qq);
! //    printf("Returned LoadLibraryA(0x%x='%s'), def_path=%s => 0x%x\n", name, name, def_path, result);
      return result;
  }      
***************
*** 2342,2347 ****
  {
   
!  printf("RegEnumValueA(%x,%ld,%p,%p,%p,%p,%p,%p)\n",
!    hkey, index, value, val_count, reserved, type, data, count );
  
   return -1;
--- 2342,2347 ----
  {
   
! // printf("RegEnumValueA(%x,%ld,%p,%p,%p,%p,%p,%p)\n",
! //   hkey, index, value, val_count, reserved, type, data, count );
  
   return -1;


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list