diff options
author | Pekka Gehör <pekka.gehor@qt.io> | 2021-11-05 14:08:24 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-11-08 08:51:13 +0000 |
commit | 8f6205d71ee266bed96ffce775fecd154c8ba7fa (patch) | |
tree | 509d73c583dd561fd1c5b2dc66be0de6a319c999 | |
parent | 066c1491336441a42c1ee383fb778fff6639d404 (diff) |
Fix for return value of mimeTypeForFormat issue
After the fix mp3 and flac types are also in the right place in the list.
So, saved file types are correct.
Fixes: QTBUG-98023
Change-Id: I7c89f6482a074e0b9f2af654c7cab25f62960473
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit a69b60f0b6d79086d459f20a3ab7c4d111901319)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/multimedia/qmediaformat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multimedia/qmediaformat.cpp b/src/multimedia/qmediaformat.cpp index 55d035d43..b5e9e1d27 100644 --- a/src/multimedia/qmediaformat.cpp +++ b/src/multimedia/qmediaformat.cpp @@ -108,9 +108,9 @@ const char *mimeTypeForFormat[QMediaFormat::LastFileFormat + 2] = "audio/mp4", "audio/aac", "audio/x-ms-wma", - "audio/flac", "audio/mpeg", - "audio/wav", + "audio/flac", + "audio/wav" }; constexpr QMediaFormat::FileFormat videoFormatPriorityList[] = |