Video Capture: update capturing dimension based on camera orientation
With device's native orientation being Portrait mode, for devices with camera orientation of 0 or 180 degs, the capturing width and height needs to be swapped in order to capture in respect to device's current orientation. Bug: 1032902 Test: Duo calling on devices with different camera orientation Change-Id: Ib8d718cd2787011003ba9b1e2e578eaf310d50de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1961300 Commit-Queue: Fish Lin <linfish@google.com> Reviewed-by:Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#727024}
Showing
Please register or sign in to comment