summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf.c')
-rw-r--r--video/filter/vf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 719ec395fb..aa1de0848b 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -463,10 +463,7 @@ int vf_next_control(struct vf_instance *vf, int request, void *data)
int vf_next_query_format(struct vf_instance *vf, unsigned int fmt)
{
- int flags = vf->next->query_format(vf->next, fmt);
- if (flags)
- flags |= vf->default_caps;
- return flags;
+ return vf->next->query_format(vf->next, fmt);
}
//============================================================================