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:
parent
0327579460
commit
b8442dd6ab
@ -1272,10 +1272,10 @@ _draw_checker_background (GstGLVideoMixer * video_mixer)
|
|||||||
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
gfloat v_vertices[] = {
|
gfloat v_vertices[] = {
|
||||||
-1.0,-1.0,-1.0f,
|
-1.0,-1.0, 0.0f,
|
||||||
1.0,-1.0,-1.0f,
|
1.0,-1.0, 0.0f,
|
||||||
1.0, 1.0,-1.0f,
|
1.0, 1.0, 0.0f,
|
||||||
-1.0, 1.0,-1.0f,
|
-1.0, 1.0, 0.0f,
|
||||||
};
|
};
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
@ -1513,10 +1513,10 @@ gst_gl_video_mixer_callback (gpointer stuff)
|
|||||||
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
gfloat v_vertices[] = {
|
gfloat v_vertices[] = {
|
||||||
-1.0,-1.0,-1.0f, 0.0f, 0.0f,
|
-1.0,-1.0, 0.0f, 0.0f, 0.0f,
|
||||||
1.0,-1.0,-1.0f, 1.0f, 0.0f,
|
1.0,-1.0, 0.0f, 1.0f, 0.0f,
|
||||||
1.0, 1.0,-1.0f, 1.0f, 1.0f,
|
1.0, 1.0, 0.0f, 1.0f, 1.0f,
|
||||||
-1.0, 1.0,-1.0f, 0.0f, 1.0f,
|
-1.0, 1.0, 0.0f, 0.0f, 1.0f,
|
||||||
};
|
};
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user