[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.8,1.9

Nick Kurshev nick at mplayer.dev.hu
Sat Oct 20 18:42:36 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv14097/main/libvo

Modified Files:
	vo_vesa.c 
Log Message:
Bad fix of top rendering with libmpeg2

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vo_vesa.c	20 Oct 2001 13:11:10 -0000	1.8
+++ vo_vesa.c	20 Oct 2001 16:42:17 -0000	1.9
@@ -247,7 +247,9 @@
     }
     else
     {
-	yuv2rgb(yuv_buffer, image[0], image[1], image[2], w, h,
+	uint8_t *yuv_slice;
+	yuv_slice=yuv_buffer+(image_width*y+x)*(video_mode_info.BitsPerPixel+7)/8;
+	yuv2rgb(yuv_slice, image[0], image[1], image[2], w, h,
 		image_width * ((video_mode_info.BitsPerPixel+7)/8),
 		stride[0], stride[1]);
     }
@@ -353,6 +355,7 @@
   int err;
 	image_width = width;
 	image_height = height;
+printf("subdevice: %s\n",vo_subdevice);
 	if(fullscreen & (0x1|0x8))
 	{
 	  printf("vo_vesa: switches: -fs, -flip are not supported\n");




More information about the MPlayer-cvslog mailing list