diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c index 601251a4c5..e35921b5bd 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c @@ -11471,14 +11471,13 @@ 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) || - QTCHECK_MATRIX (matrix, G_MAXUINT16, 0, 0, 1)) { + } else if (QTCHECK_MATRIX (matrix, G_MAXUINT16, 0, 0, G_MAXUINT16)) { rotation_tag = "rotate-180"; } else if (QTCHECK_MATRIX (matrix, 0, G_MAXUINT16, 1, 0)) { rotation_tag = "rotate-270"; } else if (QTCHECK_MATRIX (matrix, G_MAXUINT16, 0, 0, 1)) { rotation_tag = "flip-rotate-0"; - } else if (QTCHECK_MATRIX (matrix, 0, G_MAXUINT16, 1, 0)) { + } else if (QTCHECK_MATRIX (matrix, 0, G_MAXUINT16, G_MAXUINT16, 0)) { rotation_tag = "flip-rotate-90"; } else if (QTCHECK_MATRIX (matrix, 1, 0, 0, G_MAXUINT16)) { rotation_tag = "flip-rotate-180";