[CrOS] video_capture: pre-rotate frames for non-zero sensor orientation
There are some devices with camera sensors of non-zero physical orientation. For these devices, we still have to rotate the camera frames to compensate for the sensor orientation if we disable pre-rotation in the video capture stack. Otherwise, the video recorded in the camera app will have wrong orientation because we don't rotate the frames at all on the video stack. Bug: 990682 Test: Manually on Nocturne Change-Id: Iba471e318f6d15770491b5677769e5d6c5d1c241 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2335849 Commit-Queue: Ricky Liang <jcliang@chromium.org> Reviewed-by:Wei Lee <wtlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#795406}
Showing
Please register or sign in to comment