diff libmpcodecs/vf_yuy2.c @ 5565:0b301fec999a

capabilities support -> automatic insertion of scale, expand, pp
author arpi
date Thu, 11 Apr 2002 20:56:17 +0000
parents eefc339440bc
children 1972c3475d93
line wrap: on
line diff
--- a/libmpcodecs/vf_yuy2.c	Thu Apr 11 20:55:10 2002 +0000
+++ b/libmpcodecs/vf_yuy2.c	Thu Apr 11 20:56:17 2002 +0000
@@ -51,7 +51,7 @@
     case IMGFMT_YV12:
     case IMGFMT_I420:
     case IMGFMT_IYUV:
-	return 3; //vf_next_query_format(vf,fmt);
+	return vf_next_query_format(vf,IMGFMT_YUY2) & (~VFCAP_CSP_SUPPORTED_BY_HW);
     }
     return 0;
 }