summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2023-04-04 14:14:23 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-04-14 13:21:32 +0000
commit50f73645f9c457904812e674cecf77fd031b2ed4 (patch)
tree8bd96d7c34f82267657ee8185e1d6cd00abe4efb
parentbf146bdede2ff620b21f2e7ce0894cfdf2e1ce7c (diff)
downloadqtmultimedia-50f73645f9c457904812e674cecf77fd031b2ed4.tar.gz
Android-Tests: Skip few tests from tst_qmediaplayerbackend
There is known issue with creating hardware frame context for video renderer (QTBUG-108446). Because of that, frame.toImage() method returns invalid qImage object. Tests should be skipped until QTBUG-108446 is fixed. Task-number: QTBUG-112173 Task-number: QTBUG-108446 Change-Id: Ia6d0d5dd2b005e3312d94d1dbe62f0b6d173217a Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> Reviewed-by: Lars Knoll <lars@knoll.priv.no> (cherry picked from commit 519dbbc4cfa8edbfc9817fd53de649b7280d62ee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index 4e0e1695b..a19ff44a8 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -846,6 +846,9 @@ void tst_QMediaPlayerBackend::initialVolume()
void tst_QMediaPlayerBackend::seekPauseSeek()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("frame.toImage will return null image because of QTBUG-108446");
+#endif
if (localVideoFile.isEmpty())
QSKIP("No supported video file");
@@ -1212,6 +1215,9 @@ It findSimilarColor(It it, It end, QRgb color)
void tst_QMediaPlayerBackend::multipleSeekStressTest()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("frame.toImage will return null image because of QTBUG-108446");
+#endif
if (localVideoFile3ColorsWithSound.isEmpty())
QSKIP("Video format is not supported");
@@ -1308,6 +1314,9 @@ void tst_QMediaPlayerBackend::multipleSeekStressTest()
void tst_QMediaPlayerBackend::playbackRateChanging()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("frame.toImage will return null image because of QTBUG-108446");
+#endif
if (localVideoFile3ColorsWithSound.isEmpty())
QSKIP("Video format is not supported");