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

Cannot loop audio infinitely with QMediaPlayer using a `qrc:` QUrl

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 6.2.4
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:

      OS:  Windows 10

      Qt:  6.2.4

    • Platform/s:
      Windows

      Description

      Say the user creates a QMediaPlayer and specifies QMediaPlayer::setLoops(QMediaPlayer::Infinite).  They have an audio file defined in a .qrc file.  When they use a `qrc:` URL, the audio does not loop infinitely.  However, when they provide the full path using a `file:` URL, the audio does loop infinitely.

        Attachments

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

          Activity

            People

            Assignee:
            anrocha André De La Rocha
            Reporter:
            compscidude Thomas Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes