vlc | branch: master | Thomas Guillem <[email protected]> | 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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
