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

MediaPlayer::setPosition() while loading freezes the main thread/GUI on gstreamer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.0 Beta1
    • Multimedia

    Description

      After setting a source on a MediaPlayer element, it switches through the following states:

      0 - NoMedia

      1 - LoadingMedia

      2 - LoadedMedia

      5 - BufferedMedia

      Until reaching the BufferedMedia state, the main thread remains frozen and the GUI does not update.

       

      I was trying to create a "buffering/loading" animation expecting this process to be asynchronous, but that does not seem to be the case. Also the property 'autoLoad' does not seem to exist anymore which looked like it might control some aspect of this behavior.

      Attachments

        Issue Links

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

          Activity

            People

              timblechmann tim blechmann
              spiderkeys Charles Cross
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes