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

Mediaplayer starts playing while reporting it as stopped on MacOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.2, 5.15.0 Beta1
    • 5.13.2
    • Multimedia
    • None
    • e47ed7b88223c42dd20ef86b829061fcc4f1fc30 (qt/qtmultimedia/5.14)

    Description

      When switching the current media of the QMediaPlayer too fast, the player starts playing the track, while not reporting it. Trying to stop the playback also doesn't work. Most likely the internal playback state is not in sync with AVFoundation.

      Attached an example to trigger the problem.

      With 5.12 the following gets printed and playback is not started:

      NEW STATUS QMediaPlayer::LoadingMedia
      NEW STATUS QMediaPlayer::LoadedMedia
      NEW STATUS QMediaPlayer::LoadingMedia
      NEW STATUS QMediaPlayer::LoadedMedia

      With 5.13 the playback gets started without reporting it:

      NEW STATUS QMediaPlayer::LoadingMedia
      NEW STATUS QMediaPlayer::LoadedMedia
      NEW STATUS QMediaPlayer::LoadingMedia
      NEW STATUS QMediaPlayer::StalledMedia
      NEW STATUS QMediaPlayer::BufferedMedia
      NEW STATUS QMediaPlayer::LoadedMedia

      Attachments

        Issue Links

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

          Activity

            People

              gagi Dominik Holland
              gagi Dominik Holland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes