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

Alex Beregszaszi alex at mplayerhq.hu
Mon May 27 19:40:36 CEST 2002


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

Modified Files:
	vo_ggi.c 
Log Message:
revised query_format

Index: vo_ggi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_ggi.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- vo_ggi.c	19 Apr 2002 16:50:03 -0000	1.22
+++ vo_ggi.c	27 May 2002 17:40:33 -0000	1.23
@@ -467,24 +467,25 @@
     {
 	if (ggi_conf.directbuffer)
 #ifdef GGI_FLIP
-	    return(3|VFCAP_OSD|VFCAP_FLIP);
+	    return(VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|
+		VFCAP_OSD|VFCAP_FLIP);
 #else
-	    return(3|VFCAP_OSD);
+	    return(VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_OSD);
 #endif
 	else
-	    return(3);
+	    return(VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW);
     }
     
     if (IMGFMT_IS_BGR(format) || IMGFMT_IS_RGB(format))
     {
 	if (ggi_conf.directbuffer)
 #ifdef GGI_FLIP
-	    return(1|VFCAP_OSD|VFCAP_FLIP);
+	    return(VFCAP_CSP_SUPPORTED|VFCAP_OSD|VFCAP_FLIP);
 #else
-	    return(1|VFCAP_OSD);
+	    return(VFCAP_CSP_SUPPORTED|VFCAP_OSD);
 #endif
 	else
-	    return(1);
+	    return(VFCAP_CSP_SUPPORTED);
     }
 
     return(0);




More information about the MPlayer-cvslog mailing list