[Mplayer-cvslog] CVS: main/libvo vo_gl.c,1.26,1.27

Alex Beregszaszi alex at mplayerhq.hu
Mon May 27 19:47:12 CEST 2002


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

Modified Files:
	vo_gl.c 
Log Message:
query_format revised

Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- vo_gl.c	14 May 2002 23:44:35 -0000	1.26
+++ vo_gl.c	27 May 2002 17:47:10 -0000	1.27
@@ -454,9 +454,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;
     }
     return 0;
 }




More information about the MPlayer-cvslog mailing list