Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9
-
-
Multimedia, weeks 11-12, Multimedia, weeks 13-14, Multimedia, weeks 15-16
Description
If QMediaPlayer::setLoops is called just a few seconds before playback reaches end of media, the loop count changes won't be reflected before playback is restarted. This is because the FFmpeg Demuxer class has already buffered/read to end of file, which is the only point where it checks its m_loops variable.
In this case, playback will continue from the StreamDecoder queue until reaching end of media and then stop, even if the loop count was increased or set to infinite. Pausing playback before calling QMediaPlayer::setLoops doesn't help.
Attachments
Issue Links
- relates to
-
QTBUG-133652 tst_QMediaPlayerBackend::play_playbackLastsForTheExpectedTime is flaky on Linux
-
- In Progress
-