QFFmpegImageCapture: Don't scale rotated images
QImageCapture resolution didn't account for incoming images being
rotated. This caused them to be scaled and stretched.
Skip scaling if image size is transposed version of
QImageCapture::resolution. Also log a warning when scaling, as it's
likely not wanted.
Pick-to: 6.12
Change-Id: Ia47bd6fda48f1a7fdece6391685723cac3b2590b
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
| commit | 196e41c01c35f5dc129a6f786ecf5f72ffff258c |
| parent | 2f98e59643a13266471b2ba189f719c0e6968f44 |
| author | Mikko Hallamaa <mikko.hallamaa@qt.io> |
| committer | Mikko Hallamaa <mikko.hallamaa@qt.io> |
| commit time | Thu, 8 Oct 2026 15:27:01 +0000 |