diff libmpcodecs/ve_libdv.c @ 15212:05aa13cdf92f

replace VO and VF numeric flags with #defined identifiers
author henry
date Mon, 18 Apr 2005 15:52:38 +0000
parents 5723c4b2a2ea
children 6ff3379a0862
line wrap: on
line diff
--- a/libmpcodecs/ve_libdv.c	Mon Apr 18 14:35:11 2005 +0000
+++ b/libmpcodecs/ve_libdv.c	Mon Apr 18 15:52:38 2005 +0000
@@ -66,8 +66,8 @@
 }
 
 static int query_format(struct vf_instance_s* vf, unsigned int fmt){
-    if(fmt==IMGFMT_YUY2) return 3;
-    if(fmt==IMGFMT_RGB24) return 1;
+    if(fmt==IMGFMT_YUY2) return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
+    if(fmt==IMGFMT_RGB24) return VFCAP_CSP_SUPPORTED;
     return 0;
 }