summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-05 22:55:35 +0100
committerwm4 <wm4@nowhere>2013-12-05 22:58:54 +0100
commit66e20ef8ad0c3e3ce420f08fa7849000a4cc060a (patch)
tree0ddad02966c4b878cd02e745dcd30158ad0108d2 /video/out/vo_vdpau.c
parentb2c4653b8841dba16e0dcc38fd49f9ae5b1166ff (diff)
downloadmpv-66e20ef8ad0c3e3ce420f08fa7849000a4cc060a.tar.bz2
mpv-66e20ef8ad0c3e3ce420f08fa7849000a4cc060a.tar.xz
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.
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index 727fea532f..082ad1a05d 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -1272,7 +1272,7 @@ static int query_format(struct vo *vo, uint32_t format)
{
struct vdpctx *vc = vo->priv;
- int flags = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_FLIP;
+ int flags = VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
if (mp_vdpau_get_format(format, NULL, NULL))
return flags;
int rgb_format = get_rgb_format(format);