diff libvo/vo_gl2.c @ 6212:2001affedb75

query_format revised
author alex
date Mon, 27 May 2002 17:56:52 +0000
parents 891cff8aba60
children ce67cc1f0beb
line wrap: on
line diff
--- a/libvo/vo_gl2.c	Mon May 27 17:44:32 2002 +0000
+++ b/libvo/vo_gl2.c	Mon May 27 17:56:52 2002 +0000
@@ -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;
 }