Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0 Beta2
-
None
-
-
101ffd194 (dev), 1528a753e (6.8), 8f69c6e58 (dev), 34185b779 (6.8), d5ef39d79 (6.7), 84056f53b (tqtc/lts-6.5)
-
Multimedia wk 29-30, Multimedia wk 31-32
Description
QMediaPlayer unable to open files that are set as a source with a QUrl that contains absolute path to the file and does not contain any scheme (e.g. file://).
The problem is only relevant for Windows since its absolute paths start with a drive letter (e.g. C:\Media\Video.mp4) and this letter is considered a scheme by the QUrl class. This fails an internal check that ensures files without a scheme should be considered as the ones having file:// scheme.
Current workaround is to use QUrl::fromLocalFile which adds required scheme to the path.
Attachments
Issue Links
- resulted from
-
QTBUG-127003 QMediaPlayer can't open files with "^" in their filename or path.
-
- Closed
-