Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Issue 2762603002: Do not rotate frames from external cameras (Closed)

Created:
3 years, 9 months ago by shenghao
Modified:
3 years, 9 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, chfremer+watch_chromium.org, xjz+watch_chromium.org, feature-media-reviews_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not rotate frames from external cameras When the frames are from external cameras, do not rotate them even if the device itself is rotated. This way, the user can have a fixed external camera no matter how the CrOS device is rotated. BUG=701028 TEST=Verified on minnie with a fixed external camera that in tent mode, 90-degree-rotated and 270-degree-rotated mode, the chrome camera app still shows correct preview. Review-Url: https://codereview.chromium.org/2762603002 Cr-Commit-Position: refs/heads/master@{#459048} Committed: https://chromium.googlesource.com/chromium/src/+/f1ce4f776d2e9018a8d7dbe381658e51c1aa5db8

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add rotates_with_device_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M media/capture/video/linux/video_capture_device_chromeos.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/capture/video/linux/video_capture_device_chromeos.cc View 1 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
shenghao
3 years, 9 months ago (2017-03-20 08:15:41 UTC) #3
chfremer
https://codereview.chromium.org/2762603002/diff/1/media/capture/video/linux/video_capture_device_chromeos.cc File media/capture/video/linux/video_capture_device_chromeos.cc (right): https://codereview.chromium.org/2762603002/diff/1/media/capture/video/linux/video_capture_device_chromeos.cc#newcode158 media/capture/video/linux/video_capture_device_chromeos.cc:158: rotation = 0; As a drive-by nit, I wonder ...
3 years, 9 months ago (2017-03-20 16:32:47 UTC) #5
shenghao
https://codereview.chromium.org/2762603002/diff/1/media/capture/video/linux/video_capture_device_chromeos.cc File media/capture/video/linux/video_capture_device_chromeos.cc (right): https://codereview.chromium.org/2762603002/diff/1/media/capture/video/linux/video_capture_device_chromeos.cc#newcode158 media/capture/video/linux/video_capture_device_chromeos.cc:158: rotation = 0; On 2017/03/20 16:32:47, chfremer wrote: > ...
3 years, 9 months ago (2017-03-21 06:06:32 UTC) #7
Pawel Osciak
lgtm
3 years, 9 months ago (2017-03-23 08:52:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2762603002/20001
3 years, 9 months ago (2017-03-23 10:35:20 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 11:38:06 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f1ce4f776d2e9018a8d7dbe38165...

Powered by Google App Engine
This is Rietveld 408576698