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

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


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv18822/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.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- vo_vesa.c	28 Oct 2001 10:28:08 -0000	1.22
+++ vo_vesa.c	28 Oct 2001 10:45:41 -0000	1.23
@@ -584,6 +584,8 @@
 		  else 
 		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 24) rgb2rgb_fnc = rgb32to24;
 		  else 
+		  if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16;
+		  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