summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-01 18:47:27 +0200
committerwm4 <wm4@nowhere>2015-05-01 18:47:27 +0200
commite185887ba0da9967337541ebd71e244fb2833c4f (patch)
treef9b9a1f33fe0b0dbed56436d3ef946d389519c29 /video/out/vo_opengl.c
parent0a7abbda6b555fb7746f737b52d0f00fb3e614db (diff)
downloadmpv-e185887ba0da9967337541ebd71e244fb2833c4f.tar.bz2
mpv-e185887ba0da9967337541ebd71e244fb2833c4f.tar.xz
video/out: remove VOFLAG_FLIPPING
I think this used to be quite important, because the ancient VfW support in MPlayer used to output flipped frames. This code has been dead in mpv for quite some time (because VfW decoders were removed, and the --flip option was dropped too), so get rid of it.
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 15b36e8238..dda9f1ed7e 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -76,8 +76,6 @@ struct gl_priv {
char *backend;
- int vo_flipped;
-
bool frame_started;
int frames_rendered;
@@ -176,9 +174,6 @@ static void draw_image_timed(struct vo *vo, mp_image_t *mpi,
struct gl_priv *p = vo->priv;
GL *gl = p->gl;
- if (p->vo_flipped)
- mp_image_vflip(mpi);
-
mpgl_lock(p->glctx);
if (mpi)
@@ -242,8 +237,6 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)
gl_video_config(p->renderer, params);
- p->vo_flipped = !!(flags & VOFLAG_FLIPPING);
-
mpgl_unlock(p->glctx);
return 0;