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

QCamera inverts red and blue channel when using MEDIASUBTYPE_RGB24

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.5, 5.13.1, 5.14.0 Alpha
    • 5.12.3
    • Multimedia
    • None
    • Windows 7 and QT creator up-to-date
    • Windows
    • 15abbc8c9e3acb5d9bee70fd8bec25242ec7abdd (qt/qtmultimedia/5.12)

    Description

      A connected webcam produces pictures/viewfinder with all blue areas as red and red areas as blue, green unaffected. The multimediawidget example "camera" can be used to reproduce this bug.

      This bug happens with

      Desktop Qt 5.12.3 MSVC2017 32bit

      while older compilers e.g.

      Desktop Qt 5.11.1 MSVC2015 32bit

      work fine.

      Tested with a webcam in CaptureMode(QCamera::CaptureStillImage), others were unavailable. Webcam model: Logitech c270 HD

      Attachments

        1. declarativeCamera_MSVC2017_5_12_3-32bit.jpg
          31 kB
          Peer Heinrich
        2. Desktop Qt 5.11.1 MSVC2015 32bit.jpg
          14 kB
          Peer Heinrich
        3. Desktop Qt 5.12.3 MSVC2017 32bit .jpg
          13 kB
          Peer Heinrich
        4. logitec_MinGW_32bit_5_11_1.jpg
          40 kB
          Peer Heinrich
        5. logitec_MinGW_32bit_5_12_3.jpg
          41 kB
          Peer Heinrich
        6. logitec_MinGW_64bit_5_12_3.jpg
          35 kB
          Peer Heinrich
        7. logitec_msvc2017_5_12_0_32bit.jpg
          32 kB
          Peer Heinrich
        8. logitec_msvc2017_5_12_1_32bit.jpg
          32 kB
          Peer Heinrich
        9. logitec_msvc2017_5_12_2_32bit.jpg
          37 kB
          Peer Heinrich
        10. logitec_msvc2017_5_12_3_32bit.jpg
          37 kB
          Peer Heinrich
        11. usb2.0_MinGW_32bit_5_11_1.jpg
          32 kB
          Peer Heinrich
        12. usb2.0_MinGW_32bit_5_12_3.jpg
          30 kB
          Peer Heinrich
        13. usb2.0cam_msvc2017_5_12_3_&$BIT.jpg
          29 kB
          Peer Heinrich
        14. usb2.0cam_msvc2017_5_12_3_32BIT.jpg
          32 kB
          Peer Heinrich
        15. usb2.0cam_msvc2017_5_12_3_64BIT.jpg
          37 kB
          Peer Heinrich
        For Gerrit Dashboard: QTBUG-75959
        # Subject Branch Project Status CR V

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            pheinrich Peer Heinrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes