From: Joni Poikelin Date: Tue, 10 Feb 2015 08:02:20 +0000 (+0200) Subject: Encode urls passed to media player properly X-Git-Tag: v5.5.90+alpha1~32^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3df85959b8e8ef90c512f1c9a8628f11167f7e6;p=platform%2Fupstream%2Fqtmultimedia.git Encode urls passed to media player properly Task-number: QTBUG-44383 Change-Id: I2c63d5530ad76474ccad8ad69493419dd46032fa Reviewed-by: Yoann Lopes --- diff --git a/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp b/src/plugins/android/src/mediaplayer/qandroidmediaplayercontrol.cpp index eae09c6..a8f427f 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)