diff options
author | Nick Korotysh <nick.korotysh@gmail.com> | 2020-06-01 23:25:45 +0300 |
---|---|---|
committer | Nick Korotysh <nick.korotysh@gmail.com> | 2020-06-02 18:12:06 +0300 |
commit | 9c16be3d9d956f612dda431f4883eab3b09a8b67 (patch) | |
tree | 22d21e718da45befe51aba13550576bd8cefbe01 /src/multimedia | |
parent | 2b96c113cf7057b556856149114999b973b3f2c2 (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
Pick-to: 5.15
Change-Id: I69e522d048d88310803a7040f114ee808c18720b
Reviewed-by: VaL Doroshchuk <valentyn.doroshchuk@qt.io>
Diffstat (limited to 'src/multimedia')
0 files changed, 0 insertions, 0 deletions