[Mplayer-cvslog] CVS: main/libvo vo_zr.c,1.14,1.15

Alex Beregszaszi alex at mplayerhq.hu
Mon May 27 20:05:28 CEST 2002


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

Modified Files:
	vo_zr.c 
Log Message:
revised query_format

Index: vo_zr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_zr.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- vo_zr.c	27 Apr 2002 18:24:12 -0000	1.14
+++ vo_zr.c	27 May 2002 18:05:26 -0000	1.15
@@ -491,8 +491,8 @@
 }
 
 static uint32_t query_format(uint32_t format) {
-	if(format==IMGFMT_YV12) return 1;
-	if(format==IMGFMT_YUY2) return 1;
+	if(format==IMGFMT_YV12 || format==IMGFMT_YUY2) 
+	    return VFCAP_CSP_SUPPORTED|VFCAP_SUPPORTED_BY_HW;
 	return 0;
 }
 




More information about the MPlayer-cvslog mailing list