changeset 9027:e59cda3414b6

conformation with api
author alex
date Sun, 19 Jan 2003 16:52:00 +0000
parents ccbfff7debf8
children abe324121557
files libvo/vo_xv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Sun Jan 19 16:49:02 2003 +0000
+++ b/libvo/vo_xv.c	Sun Jan 19 16:52:00 2003 +0000
@@ -693,7 +693,8 @@
 
 static uint32_t query_format(uint32_t format)
 {
-    int flag=3|VFCAP_HWSCALE_UP|VFCAP_HWSCALE_DOWN|VFCAP_OSD|VFCAP_ACCEPT_STRIDE; // FIXME! check for DOWN
+    int flag=VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|
+	    VFCAP_HWSCALE_UP|VFCAP_HWSCALE_DOWN|VFCAP_OSD|VFCAP_ACCEPT_STRIDE; // FIXME! check for DOWN
    /* check image formats */
      if(format==IMGFMT_BGR24){ format=IMGFMT_YV12;flag&=~2;flag|=VFCAP_FLIP;} // conversion!
      for(i = 0; i < formats; i++){