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

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • Multimedia
    • All
    • 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

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes