[Mplayer-cvslog] CVS: main/libvo vo_gl2.c,1.19,1.20

Alex Beregszaszi alex at mplayerhq.hu
Mon May 27 19:48:56 CEST 2002


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

Modified Files:
	vo_gl2.c 
Log Message:
query_format revised

Index: vo_gl2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl2.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- vo_gl2.c	14 May 2002 23:44:35 -0000	1.19
+++ vo_gl2.c	27 May 2002 17:48:54 -0000	1.20
@@ -1081,9 +1081,10 @@
 {
     switch(format){
     case IMGFMT_YV12:
+	return VFCAP_CSP_SUPPORTED;
     case IMGFMT_RGB|24:
     case IMGFMT_BGR|24:
-        return 1;
+        return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_OSD;
     }
     return 0;
 }




More information about the MPlayer-cvslog mailing list