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

QMediaPlayer can not play sound again after the sound finished.

XMLWordPrintable

    • All
    • ad783bb70 (dev), c36e6fec8 (6.7), 9010e3505 (6.6), 099281d65 (tqtc/lts-6.5)

      as title.

      check the attachment,

      Reproduce steps:

      1.  play the sound
      2.  wait until the sound finished  .  At the end of the sound ,there will be a warning in the console."[vorbis @ 000002531E630000] Could not update timestamps for discarded samples."
      3.   press the button to play the audio again .   Can not play the sound ,only one extra same warning will be printed in the console.

       

       

      ps: if press the `play ` button before the audio finished playing ,  it can replay the same sound again.

       

        For Gerrit Dashboard: QTBUG-118127
        # Subject Branch Project Status CR V

            lars.sutterud Lars Sutterud
            xiaoyifang yifang xiao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: