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

QCamera captured images mirrored on Windows platform (but normal on Mac and Linux).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.0.1
    • Multimedia
    • None
    • windows
    • macOS
    • 9a16423610405c0329fe40235313212946f08b05

    Description

      This can be demonstrated by building the Camera example:
      examples/multimediawidgets/camera

      It builds and runs on all three platforms. On the windows platforms, the captured image is mirrored, but normal on the other platforms.

      The problem is caused by the dsengine plugin. Hard-coded in Src/qtmultimedia/src/plugins/directshow/camera/dscamerasession.cpp, DSCameraSession::captureFrame() lines 582 and 596, the "mirrored" method to QImage is called with "true" to mirror the image that was captured.
      The attached patch changes this to false, and makes it capture the same as the other two platforms.

      IMHO, all three platforms should work the same, and this change should be incorporated into the next release.

      Attachments

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

        Activity

          People

            andysh Andy Shaw
            jas67 Jay Snyder
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes