summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-01-20 12:53:39 +0100
committerLars Knoll <lars.knoll@qt.io>2021-01-29 08:47:17 +0000
commit5ba50181b3b2a13b2fbb96bb2fd171f54de52327 (patch)
tree2612fe5394854afb5721feeedbae92ca8272e428 /tests
parent0f794eebb691238892bfaa30566aa523920e3420 (diff)
Remove the supportedMimeTypes() API in QMediaPlayer
We might want to re-add a "supportedContainerFormats()" method later on, but then implement something that actually works. For now it's probably better if the method is simply gone (it was only working on AVFoundation anyway). Change-Id: I3a19529b35c9d7916df7385b406fcccf19d7f484 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/unit/qmediaplayer/tst_qmediaplayer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/unit/qmediaplayer/tst_qmediaplayer.cpp b/tests/auto/unit/qmediaplayer/tst_qmediaplayer.cpp
index c98d2a9e5..64436d768 100644
--- a/tests/auto/unit/qmediaplayer/tst_qmediaplayer.cpp
+++ b/tests/auto/unit/qmediaplayer/tst_qmediaplayer.cpp
@@ -120,7 +120,6 @@ private slots:
void testSetVideoOutputDestruction();
void debugEnums();
void testDestructor();
- void testSupportedMimeTypes();
void testQrc_data();
void testQrc();
void testAudioRole();
@@ -837,13 +836,6 @@ void tst_QMediaPlayer::debugEnums()
qDebug() << QMediaPlayer::NetworkError;
}
-void tst_QMediaPlayer::testSupportedMimeTypes()
-{
- QStringList mimeList = QMediaPlayer::supportedMimeTypes();
-
- // This is empty on some platforms, and not on others, so can't test something here at the moment.
-}
-
void tst_QMediaPlayer::testQrc_data()
{
QTest::addColumn<QUrl>("mediaContent");