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

Swap chain format (SDR <-> HDR) is not switched correctly after swap chain is recreated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3, 6.6
    • Multimedia
    • macOS
    • Multimedia Wk7

    Description

      When environment variable to auto enable HDR based on video format is set (QT_MEDIA_AUTO_HDR=1) video doesn't play correctly when swap chain is recreated with format that differs from the one it was created at the beginning. In other words if HDR was not enabled at the start (QSG_RHI_HDR is not set) and video is chosen that is HDR then it won't play as it should but if non-HDR video is then selected it works fine. Vice versa if HDR was enabled from the start (QSG_RHI_HDR=scrgb) then the problem occurs when non-HDR video is played.

      Attachments

        1. video_2024-02-13_19-55-18.mp4
          14.84 MB
          Pavel Dubsky
        2. video_2024-02-13_19-55-12.mp4
          10.56 MB
          Pavel Dubsky

        Issue Links

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

          Activity

            People

              padubsky Pavel Dubsky
              padubsky Pavel Dubsky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes