summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/filter/vf_pp.c5
-rw-r--r--video/vfcap.h3
2 files changed, 1 insertions, 7 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;
}
diff --git a/video/vfcap.h b/video/vfcap.h
index f67fcd5496..186aca5b4a 100644
--- a/video/vfcap.h
+++ b/video/vfcap.h
@@ -27,7 +27,4 @@
// driver/filter can do vertical flip (upside-down)
#define VFCAP_FLIP 0x80
-// filter does postprocessing (so you shouldn't scale/filter image before it)
-#define VFCAP_POSTPROC 0x800
-
#endif /* MPLAYER_VFCAP_H */