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

Issue 2973853002: desktop_capture: crop border in window_capture on Win8/10 (Closed)

Created:
3 years, 5 months ago by braveyao1
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

desktop_capture: crop border in window_capture on Win8/10 On Windows8/10, we prefer cropping desired window out from a whole screen capture due to some reasons. The problem is Win10 has an invisible border around the window. If we leave the border, it will expose background a bit. This cl is about to always remove the border of desired window on Win8/10. This will help a lot to capturing still windows during window sharing. This cl still can't handle the background exposure issue when you move the target window around during capturing. More investigation is needed. BUG=chromium:737278 Review-Url: https://codereview.webrtc.org/2973853002 Cr-Commit-Position: refs/heads/master@{#18921} Committed: https://chromium.googlesource.com/external/webrtc/+/4a494ffd1255561ee9c17d3d2b3646f8c849e784

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M webrtc/modules/desktop_capture/win/window_capture_utils.cc View 1 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 31 (21 generated)
braveyao1
Hi sergeyu@, please take a look.
3 years, 5 months ago (2017-07-06 19:25:59 UTC) #6
Do not use (sergeyu)
https://codereview.webrtc.org/2973853002/diff/1/webrtc/modules/desktop_capture/win/window_capture_utils.cc File webrtc/modules/desktop_capture/win/window_capture_utils.cc (right): https://codereview.webrtc.org/2973853002/diff/1/webrtc/modules/desktop_capture/win/window_capture_utils.cc#newcode12 webrtc/modules/desktop_capture/win/window_capture_utils.cc:12: #include "webrtc/base/win32.h" I think you want to include webrtc/rtc_base/win32.h ...
3 years, 5 months ago (2017-07-06 20:35:49 UTC) #8
Do not use (sergeyu)
https://codereview.webrtc.org/2973853002/diff/1/webrtc/modules/desktop_capture/win/window_capture_utils.cc File webrtc/modules/desktop_capture/win/window_capture_utils.cc (right): https://codereview.webrtc.org/2973853002/diff/1/webrtc/modules/desktop_capture/win/window_capture_utils.cc#newcode33 webrtc/modules/desktop_capture/win/window_capture_utils.cc:33: if (rtc::IsWindows8OrLater() || Please add a comment here to ...
3 years, 5 months ago (2017-07-06 20:36:37 UTC) #9
braveyao1
Thanks for the comments! All addressed/answered. PTAL. https://codereview.webrtc.org/2973853002/diff/1/webrtc/modules/desktop_capture/win/window_capture_utils.cc File webrtc/modules/desktop_capture/win/window_capture_utils.cc (right): https://codereview.webrtc.org/2973853002/diff/1/webrtc/modules/desktop_capture/win/window_capture_utils.cc#newcode12 webrtc/modules/desktop_capture/win/window_capture_utils.cc:12: #include "webrtc/base/win32.h" ...
3 years, 5 months ago (2017-07-06 22:10:48 UTC) #14
Do not use (sergeyu)
lgtm
3 years, 5 months ago (2017-07-06 22:47:08 UTC) #15
Sergey Ulanov
On 2017/07/06 22:47:08, Do not use (sergeyu) wrote: > lgtm lgtm
3 years, 5 months ago (2017-07-06 22:55:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2973853002/20001
3 years, 5 months ago (2017-07-06 22:55:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/15638)
3 years, 5 months ago (2017-07-06 23:04:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2973853002/20001
3 years, 5 months ago (2017-07-07 03:17:46 UTC) #28
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 03:20:33 UTC) #31
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/4a494ffd1255561ee9c17d3d2...

Powered by Google App Engine
This is Rietveld 408576698