diff options
author | 2013-12-02 22:15:11 +0100 | |
---|---|---|
committer | 2013-12-04 00:07:38 +0100 | |
commit | 733c2369d3d4a70da934899dce06c61871fd26d4 (patch) | |
tree | e993d8ad05997a17ea2ac16c136e677379aa06af | |
parent | 1176ca9465298d5626e7a793625ecab546eab3d6 (diff) |
video: remove VFCAP_POSTPROC
This wasn't used anymore, not even until recently.
-rw-r--r-- | video/filter/vf_pp.c | 5 | ||||
-rw-r--r-- | video/vfcap.h | 3 |
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 */ |