[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.70,1.71

Nick Kurshev nick at mplayer.dev.hu
Sun Feb 17 18:18:08 CET 2002


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

Modified Files:
	vo_vesa.c 
Log Message:
Change order of vo_function calls (Although it doesn't matter for now).

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- vo_vesa.c	17 Feb 2002 10:21:00 -0000	1.70
+++ vo_vesa.c	17 Feb 2002 17:18:05 -0000	1.71
@@ -951,14 +951,14 @@
 {
     uint32_t i,n;
     uint8_t *ptrs[video_mode_info.YResolution];
-    if(!video_out_png.control(VOCTRL_QUERY_FORMAT, &dstFourcc))
+    if(video_out_png.preinit(NULL)) 
     {
-	printf("\nvo_vesa: vo_png doesn't support: %s fourcc\n",vo_format_name(dstFourcc));
+	printf("\nvo_vesa: can't preinit vo_png\n");
 	return 1;
     }
-    if(video_out_png.preinit(NULL)) 
+    if(!video_out_png.control(VOCTRL_QUERY_FORMAT, &dstFourcc))
     {
-	printf("\nvo_vesa: can't preinit vo_png\n");
+	printf("\nvo_vesa: vo_png doesn't support: %s fourcc\n",vo_format_name(dstFourcc));
 	return 1;
     }
     if(video_out_png.config(HAS_DGA()?video_mode_info.XResolution:dstW,




More information about the MPlayer-cvslog mailing list