mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
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
1 changed files with 8 additions and 8 deletions
|
@ -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* */
|
||||
|
||||
|
|
Loading…
Reference in a new issue