From 733c2369d3d4a70da934899dce06c61871fd26d4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 2 Dec 2013 22:15:11 +0100 Subject: video: remove VFCAP_POSTPROC This wasn't used anymore, not even until recently. --- video/filter/vf_pp.c | 5 +---- video/vfcap.h | 3 --- 2 files changed, 1 insertion(+), 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 */ -- cgit v1.2.3