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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Linux/X11

      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

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

          Activity

            People

            Assignee:
            laknoll Lars Knoll
            Reporter:
            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