glvideomixer: Moves the objects to zero on z axis

Matches the output from a similar glimagesink pipeline when
rotating from an upstream gltransformation passed through
the affine transformation meta with xpos/ypos being set.

https://bugzilla.gnome.org/show_bug.cgi?id=794401
This commit is contained in:
Daniel Klamt 2018-04-25 16:36:21 +02:00 committed by Matthew Waters
parent 0327579460
commit b8442dd6ab

View file

@ -1272,10 +1272,10 @@ _draw_checker_background (GstGLVideoMixer * video_mixer)
/* *INDENT-OFF* */
gfloat v_vertices[] = {
-1.0,-1.0,-1.0f,
1.0,-1.0,-1.0f,
1.0, 1.0,-1.0f,
-1.0, 1.0,-1.0f,
-1.0,-1.0, 0.0f,
1.0,-1.0, 0.0f,
1.0, 1.0, 0.0f,
-1.0, 1.0, 0.0f,
};
/* *INDENT-ON* */
@ -1513,10 +1513,10 @@ gst_gl_video_mixer_callback (gpointer stuff)
/* *INDENT-OFF* */
gfloat v_vertices[] = {
-1.0,-1.0,-1.0f, 0.0f, 0.0f,
1.0,-1.0,-1.0f, 1.0f, 0.0f,
1.0, 1.0,-1.0f, 1.0f, 1.0f,
-1.0, 1.0,-1.0f, 0.0f, 1.0f,
-1.0,-1.0, 0.0f, 0.0f, 0.0f,
1.0,-1.0, 0.0f, 1.0f, 0.0f,
1.0, 1.0, 0.0f, 1.0f, 1.0f,
-1.0, 1.0, 0.0f, 0.0f, 1.0f,
};
/* *INDENT-ON* */