Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
windows
-
-
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.