projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b92d14
)
glimagesink: fix upper-left and upper-right rotate matrices
author
Nicola Murino
<nicola.murino@gmail.com>
Wed, 30 Oct 2019 13:59:40 +0000
(14:59 +0100)
committer
Nicola Murino
<nicola.murino@gmail.com>
Wed, 30 Oct 2019 13:59:40 +0000
(14:59 +0100)
ext/gl/gstglimagesink.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglimagesink.c
b/ext/gl/gstglimagesink.c
index
3543150
..
9e07ff3
100644
(file)
--- a/
ext/gl/gstglimagesink.c
+++ b/
ext/gl/gstglimagesink.c
@@
-486,16
+486,16
@@
static const gfloat vertical_flip_matrix[] = {
/* upper-left-diagonal */
static const gfloat upper_left_matrix[] = {
- 0.0f, 1.0f, 0.0f, 0.0f,
- 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, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f,
};
/* upper-right-diagonal */
static const gfloat upper_right_matrix[] = {
- 0.0f,
-
1.0f, 0.0f, 0.0f,
-
-
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, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f,
};