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

Wayland: Video only plays when mouse actively moving on video element

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Linux/Wayland

      Description

      Hi,

      On Wayland, when I create a Video element and set its source to some video, that video does not play - unless I move my mouse cursor over the element and keep moving it around. Whenever I stop moving the cursor or when the cursor leaves the video element then the picture stops (though the audio still keeps going).

      When the app launches and before I move the cursor to that window I get the following two lines of output:

      ** (videotest:24519): CRITICAL **: 00:03:02.984: gst_gl_context_new_wrapped: assertion 'available_apis != GST_GL_API_ANY' failed
      Could not create wrappped context for platform: 1

      It then just sits there doing nothing until I move my cursor into the window.

      If I move my cursor into the window to start playback and then move the cursor somewhere else (outside that window) the video stops but the audio keeps going. If I then move the cursor back into the window the video stutters and I get this message on standard out:

      Warning: "A lot of buffers are being dropped."

      I attached a simple test app that exhibits that behavior.

      When I switch from Wayland to X, then everything works just fine. I still get the same message on standard out ("Could not create wrappped context for platform: 2" (2, not 1, on X)) but the video plays just fine.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team Oslo
            Reporter:
            luspi Lukas Spies
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes