summaryrefslogtreecommitdiffstats
path: root/src/gsttools
diff options
context:
space:
mode:
authorNick Korotysh <nick.korotysh@gmail.com>2020-06-01 23:25:45 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-06-02 15:48:50 +0000
commitd6076e0963b16ec98c13ce126db1d94a8f2952ca (patch)
tree6d31a1dce411ca6162c51e7cc5104b3bca95f1c2 /src/gsttools
parent5a10af9bca8976ffb415adf12d4e8ffe4921da67 (diff)
AVFoundation: fix playback of files with spaces in their names
Used QUrl::toEncoded() instead of QUrl::toString(). Usage of QUrl::toString() leads to URLs which can contain spaces and as result such URLs are not accepted by AVPlayer, and it remains in unknown state because AVFMediaPlayerSession::processLoadStateChange() is not called at all. And as result, QMediaPlayer waits media loading forever. [ChangeLog][Platform Specific Changes][AVFoundation] Fixed playback of files with spaces in their names. Fixes: QTBUG-84585 Change-Id: I69e522d048d88310803a7040f114ee808c18720b Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io> (cherry picked from commit 9c16be3d9d956f612dda431f4883eab3b09a8b67) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gsttools')
0 files changed, 0 insertions, 0 deletions