mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 12:52:05 +00:00
video: remove VFCAP_POSTPROC
This wasn't used anymore, not even until recently.
This commit is contained in:
parent
1176ca9465
commit
733c2369d3
@ -76,10 +76,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){
|
|||||||
case IMGFMT_422P:
|
case IMGFMT_422P:
|
||||||
case IMGFMT_420P:
|
case IMGFMT_420P:
|
||||||
case IMGFMT_411P: ;
|
case IMGFMT_411P: ;
|
||||||
int caps = vf_next_query_format(vf,fmt);
|
return vf_next_query_format(vf,fmt);
|
||||||
if (caps)
|
|
||||||
caps |= VFCAP_POSTPROC;
|
|
||||||
return caps;
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,4 @@
|
|||||||
// driver/filter can do vertical flip (upside-down)
|
// driver/filter can do vertical flip (upside-down)
|
||||||
#define VFCAP_FLIP 0x80
|
#define VFCAP_FLIP 0x80
|
||||||
|
|
||||||
// filter does postprocessing (so you shouldn't scale/filter image before it)
|
|
||||||
#define VFCAP_POSTPROC 0x800
|
|
||||||
|
|
||||||
#endif /* MPLAYER_VFCAP_H */
|
#endif /* MPLAYER_VFCAP_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user