changeset 6207:1c5bde0ef5d1

revised query_format
author alex
date Mon, 27 May 2002 17:18:06 +0000
parents 4bffe1ffa86c
children 86162cb34bc9
files libvo/vo_3dfx.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_3dfx.c	Mon May 27 17:14:13 2002 +0000
+++ b/libvo/vo_3dfx.c	Mon May 27 17:18:06 2002 +0000
@@ -468,12 +468,13 @@
 static uint32_t
 query_format(uint32_t format)
 {
+    /* does this supports scaling? up & down? */
     switch(format){
     case IMGFMT_YV12:
 //    case IMGFMT_YUY2:
 //    case IMGFMT_RGB|24:
 //    case IMGFMT_BGR|24:
-        return 1;
+        return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW;
     }
     return 0;
 }