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

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

XMLWordPrintable

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

      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.

        1. CMakeLists.txt
          2 kB
          Christian Aguilera
        2. qmediaplayer_regression.cpp
          2 kB
          Christian Aguilera
        3. qmediaplayer_regression.py
          1 kB
          Christian Aguilera
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes