diff options
author | Joni Poikelin <joni.poikelin@digia.com> | 2015-02-10 10:02:20 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-02-10 10:04:17 +0000 |
commit | d3df85959b8e8ef90c512f1c9a8628f11167f7e6 (patch) | |
tree | a4c189b6f7c0b1ef41d5c6d1624e5b0c767f8d9e /src/plugins/android | |
parent | d60347eb836d6f9063c8133495e52c8c6c2590c3 (diff) | |
download | qtmultimedia-d3df85959b8e8ef90c512f1c9a8628f11167f7e6.tar.gz |
Encode urls passed to media player properly
Task-number: QTBUG-44383
Change-Id: I2c63d5530ad76474ccad8ad69493419dd46032fa
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/plugins/android')
-rw-r--r-- | src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp index eae09c64f..a8f427f81 100644 --- a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp +++ b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp @@ -337,7 +337,7 @@ void QAndroidMediaPlayerControl::setMedia(const QMediaContent &mediaContent, if (!mTempFile.isNull()) mediaPath = QStringLiteral("file://") + mTempFile->fileName(); } else { - mediaPath = url.toString(); + mediaPath = url.toString(QUrl::FullyEncoded); } if (mVideoSize.isValid() && mVideoOutput) |