mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
qtdemux: fix parsing of matrix with 180 rotation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7607>
This commit is contained in:
parent
dc4dd415f0
commit
15c990a8d8
1 changed files with 2 additions and 1 deletions
|
@ -11405,7 +11405,8 @@ qtdemux_inspect_transformation_matrix (GstQTDemux * qtdemux,
|
|||
/* NOP */
|
||||
} else if (QTCHECK_MATRIX (matrix, 0, 1, G_MAXUINT16, 0)) {
|
||||
rotation_tag = "rotate-90";
|
||||
} else if (QTCHECK_MATRIX (matrix, G_MAXUINT16, 0, 0, G_MAXUINT16)) {
|
||||
} else if (QTCHECK_MATRIX (matrix, G_MAXUINT16, 0, 0, G_MAXUINT16) ||
|
||||
QTCHECK_MATRIX (matrix, G_MAXUINT16, 0, 0, 1)) {
|
||||
rotation_tag = "rotate-180";
|
||||
} else if (QTCHECK_MATRIX (matrix, 0, G_MAXUINT16, 1, 0)) {
|
||||
rotation_tag = "rotate-270";
|
||||
|
|
Loading…
Reference in a new issue