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

In the DirectShow plugin the conversion from MEDIASUBTYPE_RGB32 is wrong (RGB <-> BGR)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.1
    • 4.8.4, 5.0.0
    • Multimedia
    • None
    • Windows
    • c74b544610376c753ea0a29ff2465e2bcfe70e1d

    Description

      The MEDIASUBTYPE_RGB32 byte order is BGRA:
      http://msdn.microsoft.com/en-us/library/windows/desktop/dd407253(v=vs.85).aspx

      On Windows, the byte order of QImage::Format_RGB32 is also BGRA (little-endian), so no need for rgb swap, but currently the DirectShow plugin does that.

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            tr3w Tr3wory
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes