Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134686

FFmpeg Demuxer doesn't react to QMediaPlayer::setLoops if called near end of media.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9
    • Multimedia
    • All
    • Multimedia, weeks 11-12, Multimedia, weeks 13-14, Multimedia, weeks 15-16, Multimedia, weeks 18-19, Multimedia Current w28 ...

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtmultimediateam Qt Multimedia Team
            lars.sutterud Lars Sutterud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes