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

Issue 2323573004: Fix crop bug in WebRtcVideoCapturerAdapter (Closed)

Created:
4 years, 3 months ago by magjed_chromium
Modified:
4 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crop bug in WebRtcVideoCapturerAdapter In the current code, CPU adaptation does not work correctly. It should scale to the adapted resolution, but it crops instead. The result looks like zoomed in video. This bug was introduced in https://codereview.chromium.org/2270723002/. This CL fixes the cropping logic. BUG=chromium:635592 Committed: https://crrev.com/aca43aa35c6bb786b83932e87b3ca8c0d8149f81 Cr-Commit-Position: refs/heads/master@{#417549}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc View 2 chunks +10 lines, -9 lines 2 comments Download

Messages

Total messages: 18 (11 generated)
magjed_chromium
Please take a look.
4 years, 3 months ago (2016-09-09 08:54:36 UTC) #5
nisse-chromium (ooo August 14)
LGTM, with or without the video_frame local variable. https://codereview.chromium.org/2323573004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc File content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc (right): https://codereview.chromium.org/2323573004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc#newcode157 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc:157: scoped_refptr<media::VideoFrame> ...
4 years, 3 months ago (2016-09-09 09:06:57 UTC) #8
perkj_chrome
lgtm
4 years, 3 months ago (2016-09-09 10:17:53 UTC) #11
magjed_chromium
https://codereview.chromium.org/2323573004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc File content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc (right): https://codereview.chromium.org/2323573004/diff/1/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc#newcode157 content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc:157: scoped_refptr<media::VideoFrame> video_frame = On 2016/09/09 09:06:57, nisse-chromium wrote: > ...
4 years, 3 months ago (2016-09-09 10:26:32 UTC) #12
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/2323573004/1
4 years, 3 months ago (2016-09-09 10:26:48 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-09 10:30:42 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 10:33:25 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/aca43aa35c6bb786b83932e87b3ca8c0d8149f81
Cr-Commit-Position: refs/heads/master@{#417549}

Powered by Google App Engine
This is Rietveld 408576698