[Mplayer-cvslog] CVS: main/libvo mmx.h,1.3,1.4 vo_3dfx.c,1.4,1.5 vo_gl.c,1.4,1.5 vo_mga.c,1.10,1.11 vo_syncfb.c,1.4,1.5 vo_x11.c,1.15,1.16 vo_xmga.c,1.16,1.17 vo_xv.c,1.15,1.16 x11_common.c,1.14,1.15 yuv2rgb.c,1.1.1.1,1.2

Szabolcs Berecz szabii at users.sourceforge.net
Tue Apr 24 13:30:59 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv8671

Modified Files:
	mmx.h vo_3dfx.c vo_gl.c vo_mga.c vo_syncfb.c vo_x11.c 
	vo_xmga.c vo_xv.c x11_common.c yuv2rgb.c 
Log Message:
fprintf(stderr converted to printf(

Index: mmx.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/mmx.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** mmx.h	2001/04/11 19:41:38	1.3
--- mmx.h	2001/04/24 11:30:57	1.4
***************
*** 244,253 ****
  		mmx_t mmx_trace; \
  		mmx_trace.uq = (imm); \
! 		fprintf(stderr, #op "_i2r(" #imm "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %%" #reg ", %0" \
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #reg "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %0, %%" #reg \
--- 244,253 ----
  		mmx_t mmx_trace; \
  		mmx_trace.uq = (imm); \
! 		printf(#op "_i2r(" #imm "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %%" #reg ", %0" \
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#reg "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %0, %%" #reg \
***************
*** 257,261 ****
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #reg "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
--- 257,261 ----
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#reg "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
***************
*** 265,274 ****
  		mmx_t mmx_trace; \
  		mmx_trace = (mem); \
! 		fprintf(stderr, #op "_m2r(" #mem "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %%" #reg ", %0" \
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #reg "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %0, %%" #reg \
--- 265,274 ----
  		mmx_t mmx_trace; \
  		mmx_trace = (mem); \
! 		printf(#op "_m2r(" #mem "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %%" #reg ", %0" \
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#reg "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %0, %%" #reg \
***************
*** 278,282 ****
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #reg "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
--- 278,282 ----
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#reg "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
***************
*** 288,295 ****
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #op "_r2m(" #reg "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		mmx_trace = (mem); \
! 		fprintf(stderr, #mem "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %%" #reg ", %0" \
--- 288,295 ----
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#op "_r2m(" #reg "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		mmx_trace = (mem); \
! 		printf(#mem "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %%" #reg ", %0" \
***************
*** 297,301 ****
  				      : /* nothing */ ); \
  		mmx_trace = (mem); \
! 		fprintf(stderr, #mem "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
--- 297,301 ----
  				      : /* nothing */ ); \
  		mmx_trace = (mem); \
! 		printf(#mem "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
***************
*** 307,316 ****
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #op "_r2r(" #regs "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %%" #regd ", %0" \
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #regd "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %" #regs ", %" #regd); \
--- 307,316 ----
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#op "_r2r(" #regs "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %%" #regd ", %0" \
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#regd "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ (#op " %" #regs ", %" #regd); \
***************
*** 318,322 ****
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		fprintf(stderr, #regd "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
--- 318,322 ----
  				      : "=X" (mmx_trace) \
  				      : /* nothing */ ); \
! 		printf(#regd "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
***************
*** 326,333 ****
  		mmx_t mmx_trace; \
  		mmx_trace = (mems); \
! 		fprintf(stderr, #op "_m2m(" #mems "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		mmx_trace = (memd); \
! 		fprintf(stderr, #memd "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %0, %%mm0\n\t" \
--- 326,333 ----
  		mmx_t mmx_trace; \
  		mmx_trace = (mems); \
! 		printf(#op "_m2m(" #mems "=0x%08x%08x, ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		mmx_trace = (memd); \
! 		printf(#memd "=0x%08x%08x) => ", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  		__asm__ __volatile__ ("movq %0, %%mm0\n\t" \
***************
*** 337,341 ****
  				      : "X" (mems)); \
  		mmx_trace = (memd); \
! 		fprintf(stderr, #memd "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
--- 337,341 ----
  				      : "X" (mems)); \
  		mmx_trace = (memd); \
! 		printf(#memd "=0x%08x%08x\n", \
  			mmx_trace.d[1], mmx_trace.d[0]); \
  	}
***************
*** 693,697 ****
  #define	emms() \
  	{ \
! 		fprintf(stderr, "emms()\n"); \
  		__asm__ __volatile__ ("emms"); \
  	}
--- 693,697 ----
  #define	emms() \
  	{ \
! 		printf("emms()\n"); \
  		__asm__ __volatile__ ("emms"); \
  	}

Index: vo_3dfx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_3dfx.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** vo_3dfx.c	2001/04/11 19:41:38	1.4
--- vo_3dfx.c	2001/04/24 11:30:57	1.5
***************
*** 171,175 ****
  	if (bpp != 16) 
  	{
! 		fprintf(stderr,"Only 16bpp supported!");
  		exit(-1);
  	}
--- 171,175 ----
  	if (bpp != 16) 
  	{
! 		printf("Only 16bpp supported!");
  		exit(-1);
  	}
***************
*** 337,341 ****
  	if ( (fd = open("/dev/3dfx",O_RDWR) ) == -1) 
  	{
! 		fprintf(stderr,"Couldn't open /dev/3dfx\n");
  		exit(1);
  	}
--- 337,341 ----
  	if ( (fd = open("/dev/3dfx",O_RDWR) ) == -1) 
  	{
! 		printf("Couldn't open /dev/3dfx\n");
  		exit(1);
  	}

Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** vo_gl.c	2001/04/24 10:21:12	1.4
--- vo_gl.c	2001/04/24 11:30:57	1.5
***************
*** 122,126 ****
  	if (mydisplay == NULL)
  	{
! 		fprintf(stderr,"Can not open display\n");
  		return -1;
  	}
--- 122,126 ----
  	if (mydisplay == NULL)
  	{
! 		printf("Can not open display\n");
  		return -1;
  	}

Index: vo_mga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_mga.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** vo_mga.c	2001/04/24 10:21:12	1.10
--- vo_mga.c	2001/04/24 11:30:57	1.11
***************
*** 60,64 ****
  	if(f == -1)
  	{
! 		fprintf(stderr,"Couldn't open /dev/mga_vid\n"); 
  		return(-1);
  	}
--- 60,64 ----
  	if(f == -1)
  	{
! 		printf("Couldn't open /dev/mga_vid\n"); 
  		return(-1);
  	}
***************
*** 81,85 ****
              mga_vid_config.format=MGA_VID_FORMAT_UYVY; break;
          default: 
!             fprintf(stderr,"mga: invalid output format %0X\n",format);
              return (-1);
          }
--- 81,85 ----
              mga_vid_config.format=MGA_VID_FORMAT_UYVY; break;
          default: 
!             printf("mga: invalid output format %0X\n",format);
              return (-1);
          }

Index: vo_syncfb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_syncfb.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** vo_syncfb.c	2001/04/11 19:41:38	1.4
--- vo_syncfb.c	2001/04/24 11:30:57	1.5
***************
*** 357,361 ****
  		if(f == -1)
  		{
! 			fprintf(stderr,"Couldn't open /dev/syncfb or /dev/mga_vid\n");
  			return(-1);
  		}
--- 357,361 ----
  		if(f == -1)
  		{
! 			printf("Couldn't open /dev/syncfb or /dev/mga_vid\n");
  			return(-1);
  		}

Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** vo_x11.c	2001/04/24 10:21:12	1.15
--- vo_x11.c	2001/04/24 11:30:57	1.16
***************
*** 139,143 ****
   if ( mDisplay == NULL )
    {
!    fprintf( stderr,"Can not open display\n" );
     return -1;
    }
--- 139,143 ----
   if ( mDisplay == NULL )
    {
!    printf( "Can not open display\n" );
     return -1;
    }
***************
*** 246,250 ****
     {
      Shmem_Flag=0;
!     if ( !Quiet_Flag ) fprintf( stderr,"Shared memory not supported\nReverting to normal Xlib\n" );
     }
   if ( Shmem_Flag ) CompletionType=XShmGetEventBase( mDisplay ) + ShmCompletion;
--- 246,250 ----
     {
      Shmem_Flag=0;
!     if ( !Quiet_Flag ) printf( "Shared memory not supported\nReverting to normal Xlib\n" );
     }
   if ( Shmem_Flag ) CompletionType=XShmGetEventBase( mDisplay ) + ShmCompletion;
***************
*** 258,262 ****
      {
       if ( myximage != NULL ) XDestroyImage( myximage );
!      if ( !Quiet_Flag ) fprintf( stderr,"Shared memory error,disabling ( Ximage error )\n" );
       goto shmemerror;
      }
--- 258,262 ----
      {
       if ( myximage != NULL ) XDestroyImage( myximage );
!      if ( !Quiet_Flag ) printf( "Shared memory error,disabling ( Ximage error )\n" );
       goto shmemerror;
      }
***************
*** 271,275 ****
        printf( "%s\n",strerror( errno ) );
        perror( strerror( errno ) );
!       fprintf( stderr,"Shared memory error,disabling ( seg id error )\n" );
       }
      goto shmemerror;
--- 271,275 ----
        printf( "%s\n",strerror( errno ) );
        perror( strerror( errno ) );
!       printf( "Shared memory error,disabling ( seg id error )\n" );
       }
      goto shmemerror;
***************
*** 281,285 ****
      XDestroyImage( myximage );
      if ( Shminfo[0].shmaddr != ( ( char * ) -1 ) ) shmdt( Shminfo[0].shmaddr );
!     if ( !Quiet_Flag ) fprintf( stderr,"Shared memory error,disabling ( address error )\n" );
      goto shmemerror;
     }
--- 281,285 ----
      XDestroyImage( myximage );
      if ( Shminfo[0].shmaddr != ( ( char * ) -1 ) ) shmdt( Shminfo[0].shmaddr );
!     if ( !Quiet_Flag ) printf( "Shared memory error,disabling ( address error )\n" );
      goto shmemerror;
     }
***************
*** 295,299 ****
      XDestroyImage( myximage );
      shmdt( Shminfo[0].shmaddr );
!     if ( !Quiet_Flag ) fprintf( stderr,"Shared memory error,disabling.\n" );
      gXErrorFlag=0;
      goto shmemerror;
--- 295,299 ----
      XDestroyImage( myximage );
      shmdt( Shminfo[0].shmaddr );
!     if ( !Quiet_Flag ) printf( "Shared memory error,disabling.\n" );
      gXErrorFlag=0;
      goto shmemerror;
***************
*** 302,306 ****
      shmctl( Shminfo[0].shmid,IPC_RMID,0 );
  
!    if ( !Quiet_Flag ) fprintf( stderr,"Sharing memory.\n" );
   }
   else
--- 302,306 ----
      shmctl( Shminfo[0].shmid,IPC_RMID,0 );
  
!    if ( !Quiet_Flag ) printf( "Sharing memory.\n" );
   }
   else
***************
*** 320,324 ****
    bpp=myximage->bits_per_pixel;
  
!   fprintf( stderr,"X11 color mask:  R:%lX  G:%lX  B:%lX\n",myximage->red_mask,myximage->green_mask,myximage->blue_mask );
  
    // If we have blue in the lowest bit then obviously RGB
--- 320,324 ----
    bpp=myximage->bits_per_pixel;
  
!   printf( "X11 color mask:  R:%lX  G:%lX  B:%lX\n",myximage->red_mask,myximage->green_mask,myximage->blue_mask );
  
    // If we have blue in the lowest bit then obviously RGB
***************
*** 330,334 ****
  #endif
    {
!    fprintf( stderr,"No support fon non-native XImage byte order!\n" );
     return -1;
    }
--- 330,334 ----
  #endif
    {
!    printf( "No support fon non-native XImage byte order!\n" );
     return -1;
    }

Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** vo_xmga.c	2001/04/24 10:21:12	1.16
--- vo_xmga.c	2001/04/24 11:30:57	1.17
***************
*** 134,138 ****
           if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
            {
!            fprintf( stderr,"Error in mga_vid_config ioctl (wrong mga_vid.o version?)" );
  //           exit( 0 );
            }
--- 134,138 ----
           if ( ioctl( f,MGA_VID_CONFIG,&mga_vid_config ) )
            {
!            printf( "Error in mga_vid_config ioctl (wrong mga_vid.o version?)" );
  //           exit( 0 );
            }
***************
*** 180,184 ****
   if ( f == -1 )
    {
!    fprintf(stderr,"Couldn't open /dev/mga_vid\n");
     return(-1);
    }
--- 180,184 ----
   if ( f == -1 )
    {
!    printf("Couldn't open /dev/mga_vid\n");
     return(-1);
    }
***************
*** 206,210 ****
          mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height * 2;
          break;
!    default:          fprintf(stderr,"mga: invalid output format %0X\n",format); return (-1);
    }
  
--- 206,210 ----
          mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height * 2;
          break;
!    default:          printf("mga: invalid output format %0X\n",format); return (-1);
    }
  
***************
*** 217,221 ****
   if ( mDisplay == NULL )
    {
!    fprintf( stderr,"Can not open X11 display\n" );
     return -1;
    }
--- 217,221 ----
   if ( mDisplay == NULL )
    {
!    printf( "Can not open X11 display\n" );
     return -1;
    }
***************
*** 247,251 ****
     case 16: fgColor=0xf81fL; break;
     case 15: fgColor=0x7c1fL; break;
!    default: fprintf( stderr,"Sorry, this (%d) color depth not supported.\n",vo_depthonscreen ); return -1;
    }
   xWAttribs.background_pixel=0;
--- 247,251 ----
     case 16: fgColor=0xf81fL; break;
     case 15: fgColor=0x7c1fL; break;
!    default: printf( "Sorry, this (%d) color depth not supported.\n",vo_depthonscreen ); return -1;
    }
   xWAttribs.background_pixel=0;

Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** vo_xv.c	2001/04/24 10:21:12	1.15
--- vo_xv.c	2001/04/24 11:30:57	1.16
***************
*** 111,115 ****
   if (mydisplay == NULL)
    {
!    fprintf(stderr,"Can't open display\n");
     return -1;
    }
--- 111,115 ----
   if (mydisplay == NULL)
    {
!    printf("Can't open display\n");
     return -1;
    }
***************
*** 156,160 ****
     if (Success != XvQueryAdaptors(mydisplay,DefaultRootWindow(mydisplay), &adaptors,&ai))
      {
!      fprintf(stderr,"Xv: XvQueryAdaptors failed");
       return -1;
      }
--- 156,160 ----
     if (Success != XvQueryAdaptors(mydisplay,DefaultRootWindow(mydisplay), &adaptors,&ai))
      {
!      printf("Xv: XvQueryAdaptors failed");
       return -1;
      }
***************
*** 171,175 ****
       for(i = 0; i < formats; i++)
        {
!        fprintf(stderr, "Xvideo image format: 0x%x (%4.4s) %s\n", fo[i].id,(char*)&fo[i].id, (fo[i].format == XvPacked) ? "packed" : "planar");
  
         if (fo[i].id == format)
--- 171,175 ----
       for(i = 0; i < formats; i++)
        {
!        printf("Xvideo image format: 0x%x (%4.4s) %s\n", fo[i].id,(char*)&fo[i].id, (fo[i].format == XvPacked) ? "packed" : "planar");
  
         if (fo[i].id == format)
***************
*** 183,187 ****
     if (xv_port != 0)
      {
!      fprintf( stderr,"using Xvideo port %d for hw scaling\n",xv_port );
  
       allocate_xvimage(0);
--- 183,187 ----
     if (xv_port != 0)
      {
!      printf( "using Xvideo port %d for hw scaling\n",xv_port );
  
       allocate_xvimage(0);
***************
*** 190,194 ****
       drwX=0; drwY=0;
       XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
!      fprintf( stderr,"[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
  
       if ( mFullscreen )
--- 190,194 ----
       drwX=0; drwY=0;
       XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
!      printf( "[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
  
       if ( mFullscreen )
***************
*** 200,204 ****
         drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth);
         drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight);
!        fprintf( stderr,"[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
        }
  
--- 200,204 ----
         drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth);
         drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight);
!        printf( "[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
        }
  
***************
*** 244,248 ****
     drwX=0; drwY=0;
     XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
!    fprintf( stderr,"[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
  
     if ( mFullscreen )
--- 244,248 ----
     drwX=0; drwY=0;
     XTranslateCoordinates( mydisplay,mywindow,mRoot,0,0,&drwcX,&drwcY,&mRoot );
!    printf( "[xv] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
  
     if ( mFullscreen )
***************
*** 254,258 ****
       drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth);
       drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight);
!      fprintf( stderr,"[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
      }
    }
--- 254,258 ----
       drwWidth=(dwidth > vo_screenwidth?vo_screenwidth:dwidth);
       drwHeight=(dheight > vo_screenheight?vo_screenheight:dheight);
!      printf( "[xv-fs] dcx: %d dcy: %d dx: %d dy: %d dw: %d dh: %d\n",drwcX,drwcY,drwX,drwY,drwWidth,drwHeight );
      }
    }

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** x11_common.c	2001/04/18 20:48:15	1.14
--- x11_common.c	2001/04/24 11:30:57	1.15
***************
*** 57,61 ****
   if ( !mDisplay )
    {
!    fprintf( stderr,"vo: couldn't open the X11 display!\n" );
     return 0;
    }
--- 57,61 ----
   if ( !mDisplay )
    {
!    printf( "vo: couldn't open the X11 display!\n" );
     return 0;
    }

Index: yuv2rgb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/yuv2rgb.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** yuv2rgb.c	2001/02/24 20:29:56	1.1.1.1
--- yuv2rgb.c	2001/04/24 11:30:57	1.2
***************
*** 81,87 ****
          yuv2rgb = yuv2rgb_init_mmx (bpp, mode);
          if (yuv2rgb != NULL)
!             fprintf (stderr, "Using MMX for colorspace transform\n");
          else
!             fprintf (stderr, "Cannot init MMX colorspace transform\n");
      }
  #endif
--- 81,87 ----
          yuv2rgb = yuv2rgb_init_mmx (bpp, mode);
          if (yuv2rgb != NULL)
!             printf ("Using MMX for colorspace transform\n");
          else
!             printf ("Cannot init MMX colorspace transform\n");
      }
  #endif
***************
*** 90,98 ****
  	yuv2rgb = yuv2rgb_init_mlib (bpp, mode);
  	if (yuv2rgb != NULL)
! 	    fprintf (stderr, "Using mlib for colorspace transform\n");
      }
  #endif
      if (yuv2rgb == NULL) {
! 	fprintf (stderr, "No accelerated colorspace conversion found\n");
  	yuv2rgb_c_init (bpp, mode);
  	yuv2rgb = (yuv2rgb_fun)yuv2rgb_c;
--- 90,98 ----
  	yuv2rgb = yuv2rgb_init_mlib (bpp, mode);
  	if (yuv2rgb != NULL)
! 	    printf ("Using mlib for colorspace transform\n");
      }
  #endif
      if (yuv2rgb == NULL) {
! 	printf ("No accelerated colorspace conversion found\n");
  	yuv2rgb_c_init (bpp, mode);
  	yuv2rgb = (yuv2rgb_fun)yuv2rgb_c;
***************
*** 402,406 ****
  
      default:
! 	fprintf (stderr, "%ibpp not supported by yuv2rgb\n", bpp);
  	exit (1);
      }
--- 402,406 ----
  
      default:
! 	printf ("%ibpp not supported by yuv2rgb\n", bpp);
  	exit (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