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

MediaPlayerApp-Desktop-example and mediaplayerexample - Unplugging the last audio output freezes the media and prevent it from being played

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.0, 6.8
    • Multimedia
    • None

    Description

      Description:

      Unplugging the last audio output, such as headphones, will freeze the mediaplayer 1-2 seconds after doing so.

      Steps to reproduce:

      1. Open the mediaplayer and play any multimedia file. Make sure that you also have one audio output that you can unplug, and no other audio output devices available. (Disable the drivers from device manager if required)
      2. Unplug the audio output without stopping the mediaplayer.
      3. The mediaplayer will stop by itself after 1-2 seconds.
      4. Re-plug the audio output.
      5. Play/stop is now inactive (to solve it go to next/previous file and it should now work normally)

      Expected behavior:

      The mediaplayer should not freeze.

      Observed behavior:

      The mediaplayer slows down to a halt and media playback freezes.

      Attachments

        Issue Links

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

          Activity

            People

              npskalerud Nils Petter Skålerud
              johanseg Jøger Hansegård
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes