1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00

video: remove VFCAP_POSTPROC

This wasn't used anymore, not even until recently.
This commit is contained in:
wm4 2013-12-02 22:15:11 +01:00
parent 1176ca9465
commit 733c2369d3
2 changed files with 1 additions and 7 deletions

View File

@ -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;
}

View File

@ -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 */