mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
glimagesink: Fix horizontal/vertical flip matrizes
They were swapped. https://bugzilla.gnome.org/show_bug.cgi?id=769371
This commit is contained in:
parent
14cc51cddc
commit
87a86b78b5
1 changed files with 4 additions and 4 deletions
|
@ -468,16 +468,16 @@ static const gfloat counterclockwise_matrix[] = {
|
|||
|
||||
/* horizontal-flip */
|
||||
static const gfloat horizontal_flip_matrix[] = {
|
||||
1.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, -1.0f, 0.0f, 0.0f,
|
||||
-1.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 1.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 1.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 1.0f,
|
||||
};
|
||||
|
||||
/* vertical-flip */
|
||||
static const gfloat vertical_flip_matrix[] = {
|
||||
-1.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 1.0f, 0.0f, 0.0f,
|
||||
1.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, -1.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 1.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 1.0f,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue