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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8.3, 6.9.0 FF
    • 6.6.0
    • Multimedia
    • None
    • Windows
    • 01f171cc6 (dev), b75ecc0f5 (6.8)
    • Multimedia wk 51-2

      Description:

      Unplugging the audio output, such as headphones, will freezes the mediaplayer 1-2 seconds after doing so. I will also make the play/stop button inactive.

      Steps to reproduce:

      1. Open the mediaplayer and play any multimedia file. Make sure that you also have an audio output that you can unplug.
      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 stop playing and start playing again when the play button is pressed.

      Observed behavior:

      The mediaplayer should stop playing and the play/stop button become inactive.

       

      Special notes:

       

       

        1. Recording 2023-11-22 142029.mp4
          21.59 MB
          Frederic Lefebvre
        For Gerrit Dashboard: QTBUG-119355
        # Subject Branch Project Status CR V

            johanseg Jøger Hansegård
            fredericl Frederic Lefebvre
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes