[vlc-commits] gl: fix double rotation
Thomas Guillem
git at videolan.org
Wed Sep 6 15:40:38 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep 6 15:36:27 2017 +0200| [d61a3e999e411b5cfa58bad45e53ac3648fe3a21] | committer: Thomas Guillem
gl: fix double rotation
Don't trigger a video filter to rotate an already rotated surface.
This fixes a regression from fc4114f44981aee52987a385649ce331d0f26c10
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d61a3e999e411b5cfa58bad45e53ac3648fe3a21
---
modules/video_output/opengl/vout_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c
index 16120ae57c..18a8b4a95a 100644
--- a/modules/video_output/opengl/vout_helper.c
+++ b/modules/video_output/opengl/vout_helper.c
@@ -797,7 +797,7 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
/* Update the fmt to main program one */
vgl->fmt = vgl->prgm->tc->fmt;
/* The orientation is handled by the orientation matrix */
- vgl->fmt.orientation = ORIENT_NORMAL;
+ vgl->fmt.orientation = fmt->orientation;
/* Texture size */
const opengl_tex_converter_t *tc = vgl->prgm->tc;
More information about the vlc-commits
mailing list