summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_gradfun.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_gradfun.c')
-rw-r--r--video/filter/vf_gradfun.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/video/filter/vf_gradfun.c b/video/filter/vf_gradfun.c
index b9d07bc907..b3c0702375 100644
--- a/video/filter/vf_gradfun.c
+++ b/video/filter/vf_gradfun.c
@@ -321,20 +321,15 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi)
static int query_format(struct vf_instance *vf, unsigned int fmt)
{
switch (fmt){
- case IMGFMT_YVU9:
- case IMGFMT_IF09:
- case IMGFMT_YV12:
- case IMGFMT_I420:
- case IMGFMT_IYUV:
- case IMGFMT_CLPL:
- case IMGFMT_Y800:
- case IMGFMT_Y8:
case IMGFMT_NV12:
case IMGFMT_NV21:
+ case IMGFMT_Y8:
case IMGFMT_444P:
case IMGFMT_422P:
+ case IMGFMT_440P:
+ case IMGFMT_420P:
case IMGFMT_411P:
- case IMGFMT_HM12:
+ case IMGFMT_410P:
return vf_next_query_format(vf,fmt);
}
return 0;