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

Incorrect format processing in VideoOutput with "basic" render loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.12
    • Multimedia
    • None
    • Renesas R-Car M3
    • Linux/Wayland

    Description

      I met an issue when attempting to play video with the VideoOutput component using the ABGR8888 format. Occasionally, the video is processed as ARGB8888 instead of ABGR8888.

      Steps to Reproduce:

      1. Use VideoOutput to play a video in ABGR8888 format.
      2. Set the render loop to "basic".
      3. The issue occurs when QSGGuiThreadRenderLoop::ensureRhi() is called after last QQuickVideoOutput::initRhiForSink.

      In this case, in QQuickVideoOutput, its window is set but the window's rhi is still empty. QQuickVideoOutput::initRhiForSink should be called when m_window->d->rhi is set too.

      Workaround: Retrying with a timer solves the issue as the patch attached.

      Ideally it should be updated right after rhi is set

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            tasuku.suzuki Tasuku Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes