[vlc-devel] [PATCH] OpenGL: fix the subpicture rendering
Petri Hintukainen
phintuka at gmail.com
Thu Jun 2 14:27:18 CEST 2016
On to, 2016-06-02 at 13:47 +0200, Adrien Maglo wrote:
> ---
> modules/video_output/opengl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/video_output/opengl.c
> b/modules/video_output/opengl.c
> index d14a531..5a5e5e6 100644
> --- a/modules/video_output/opengl.c
> +++ b/modules/video_output/opengl.c
> @@ -1377,7 +1377,7 @@ int
> vout_display_opengl_Display(vout_display_opengl_t *vgl,
> vgl->VertexAttribPointer(vgl->GetAttribLocation(vgl-
> >program[1], "VertexPosition"), 2, GL_FLOAT, 0, 0, 0);
>
> // Subpictures have the correct orientation:
> - vgl->UniformMatrix4fv(vgl->GetUniformLocation(vgl-
> >program[1], "RotationMatrix"), 1, GL_FALSE, identity);
> + vgl->UniformMatrix4fv(vgl->GetUniformLocation(vgl-
> >program[1], "OrientationMatrix"), 1, GL_FALSE, identity);
> #endif
> } else {
> #ifdef SUPPORTS_FIXED_PIPELINE
Yes, this fixes overlay. Thanks!
More information about the vlc-devel
mailing list