[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.21,1.22

Nick Kurshev nick at mplayer.dev.hu
Sun Oct 28 11:28:10 CET 2001


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

Modified Files:
	vo_vesa.c 
Log Message:
vo_vesa: more rgb2rgb support

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vo_vesa.c	28 Oct 2001 10:17:42 -0000	1.21
+++ vo_vesa.c	28 Oct 2001 10:28:08 -0000	1.22
@@ -582,6 +582,8 @@
 		{
 		  if(image_bpp == 24 && video_mode_info.BitsPerPixel == 32) rgb2rgb_fnc = rgb24to32;
 		  else 
+		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 24) rgb2rgb_fnc = rgb32to24;
+		  else 
 		  {
 		    printf("vo_vesa: Can't convert %u to %u\n",image_bpp,video_mode_info.BitsPerPixel);
 		    return -1;




More information about the MPlayer-cvslog mailing list