diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2023-09-28 12:01:00 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-10-18 01:19:09 +0000 |
commit | 6e460761ce8f5991ed1512cfec472061c4302ad8 (patch) | |
tree | be99aa5b27c1565990e3c9d4e0ba1b7a9b9409e4 /examples/multimedia/video/recorder/Info.plist.in | |
parent | f3cbebe32f72557d86bb0debce08c5878a8e5c4a (diff) |
QAVFCamera: pass the correct resolution6.5
Which can be affected by the connection.videoOrientation (the sizes of
sample buffers can become 'transposed' - width and height swapped).
So when updating camera format (and there we create HWAccel)
- check if the orientation is 'portrait' but the dimensions are landscape
- transpose such QSize.
Change-Id: Ibd2dac5c532abcc60238bb0e9101195fae79bb1d
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit a669d3e0dca82dde7356385054634c9b4fc453bf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 61a7eb181bab7f84e43dc1d05bd74ad08acae08f)
Diffstat (limited to 'examples/multimedia/video/recorder/Info.plist.in')
0 files changed, 0 insertions, 0 deletions