mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
qtdemux: fix parsing of matrix with 180 rotation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7665>
This commit is contained in:
parent
119e624f73
commit
d71dd64717
1 changed files with 2 additions and 1 deletions
|
@ -11398,7 +11398,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