summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_pp.c')
-rw-r--r--video/filter/vf_pp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/filter/vf_pp.c b/video/filter/vf_pp.c
index 32ec088e0c..8649372d4b 100644
--- a/video/filter/vf_pp.c
+++ b/video/filter/vf_pp.c
@@ -76,10 +76,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){
case IMGFMT_422P:
case IMGFMT_420P:
case IMGFMT_411P: ;
- int caps = vf_next_query_format(vf,fmt);
- if (caps)
- caps |= VFCAP_POSTPROC;
- return caps;
+ return vf_next_query_format(vf,fmt);
}
return 0;
}