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

`QMediaPlayer::seekableChanged` and `QMediaPlayer::durationChanged` no longer emitted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.6.0
    • Multimedia
    • None
    • Linux/X11, Windows

    Description

      QMediaPlayer::seekableChanged and QMediaPlayer::durationChanged are no longer emitted after media is played, although the QMediaPlayer::seekable and QMediaPlayer::duration properties do get update as expected.

      Other signals such as QMediaPlayer::positionChanged or QMediaPlayer::playerStateChanged are still emitted as expected.

      The issue is not reproducible in 6.4.3 (or older).

      The media type (e.g. WAV, MP4, or FLAC) does not seem to be relevant.

      Reproduction steps:

      • Launch qmediaplayer_regression.py in a Python interpreter with PySide6 or PyQt6 available (or compile and launch qmediaplayer_regression.cpp).
        • Don't forget to change the hardcoded path to the media file (default is music.wav).
      • Verify whether the "seekableChanged emitted" message has been printed to the terminal.

      Attachments

        1. qmediaplayer_regression.py
          1 kB
          Christian Aguilera
        2. qmediaplayer_regression.cpp
          2 kB
          Christian Aguilera
        3. CMakeLists.txt
          2 kB
          Christian Aguilera

        Issue Links

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

          Activity

            People

              johanseg Jøger Hansegård
              cristian64 Christian Aguilera
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes