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

QMediaPlayer::setPosition: position set doens't match the argument

XMLWordPrintable

    • Windows
    • f903bad766 (qt/qtmultimedia/dev) f903bad766 (qt/tqtc-qtmultimedia/dev) 9da7721c54 (qt/qtmultimedia/6.3) 9da7721c54 (qt/tqtc-qtmultimedia/6.3) 9da7721c54 (qt/tqtc-qtmultimedia/6.3.1) acb770c950 (qt/tqtc-qtmultimedia/6.2)

      When calling setPosition the position set is now always accurate. In the attached sample project the position is set to somewhere close to 4000 (ususually 4010 or similar) when there's an attempt to set it to 4000. Spamming setPosition may eventually get it right.

      Also this does not occur with all files. So far managed to reproduce this only with mp3 audio files. In the meanwhile there was no problem with a mp4 video.

      Steps to reproduce the problem:

      • Build the attached sample and run
      • Select an mp3 audio file
      • Play
      • Pause
      • press "set position to 4000" and observe the result.

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

            anrocha André De La Rocha (Inactive)
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes