summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-02 22:15:11 +0100
committerwm4 <wm4@nowhere>2013-12-04 00:07:38 +0100
commit733c2369d3d4a70da934899dce06c61871fd26d4 (patch)
treee993d8ad05997a17ea2ac16c136e677379aa06af
parent1176ca9465298d5626e7a793625ecab546eab3d6 (diff)
downloadmpv-733c2369d3d4a70da934899dce06c61871fd26d4.tar.bz2
mpv-733c2369d3d4a70da934899dce06c61871fd26d4.tar.xz
video: remove VFCAP_POSTPROC
This wasn't used anymore, not even until recently.
-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 */