From 66e20ef8ad0c3e3ce420f08fa7849000a4cc060a Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Dec 2013 22:55:35 +0100 Subject: video: remove --flip The --flip option flipped the image upside-down, by trying to use VO support, or if not available, by inserting a video filter. I'm not sure why it existed. Maybe it was important in ancient times when VfW based decoders output an image this way (but even then, flipping an image is a free operation by negating the stride). One nice thing about this is that it provided a possible path for implementing video orientation, which is a feature we should probably support eventually. The important part is that it would be for free for VOs that support it, and would work even with hardware decoding. But for now get rid of it. It's useless, trivial, stands in the way, and supporting video orientation would require solving other problems first. --- video/filter/vf_flip.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video/filter') diff --git a/video/filter/vf_flip.c b/video/filter/vf_flip.c index 121503c976..b8d2159196 100644 --- a/video/filter/vf_flip.c +++ b/video/filter/vf_flip.c @@ -34,7 +34,6 @@ static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { - flags &= ~VOFLAG_FLIPPING; // remove the VO flip flag return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); } -- cgit v1.2.3