Closed
Bug 1497577
Opened 6 years ago
Closed 6 years ago
Upstream code to detect zero size windows in desktop capture
Categories
(Core :: WebRTC: Audio/Video, enhancement, P3)
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
We have code that detects zero size windows that can probably be upstreamed:
https://searchfox.org/mozilla-central/rev/80ac71c1c54af788b32e851192dfd2de2ec18e18/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/window_list_utils.cc#49
https://searchfox.org/mozilla-central/rev/80ac71c1c54af788b32e851192dfd2de2ec18e18/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_win.cc#82
Assignee | ||
Comment 1•6 years ago
|
||
There will also be similar code in media/webrtc/trunk/webrtc/modules/desktop_capture/x11/window_list_utils.cc once the branch 64 update lands.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dminor
Status: NEW → ASSIGNED
Rank: 25
Assignee | ||
Comment 2•6 years ago
|
||
This was added by Bug 1196542.
I've filed https://bugs.chromium.org/p/webrtc/issues/detail?id=10058 upstream.
Assignee | ||
Comment 3•6 years ago
|
||
Upstream review: https://webrtc-review.googlesource.com/c/src/+/112182
Assignee | ||
Comment 4•6 years ago
|
||
I think this change [1] that landed after the changes were made in Bug 1196542 would remove the need for this patch on Windows, which is as far as I know, the only platform where we had problems with zero size windows. I'm going to test this on try.
[1] https://chromium-review.googlesource.com/c/external/webrtc/+/634383/4/webrtc/modules/desktop_capture/window_capturer_win.cc#189
Assignee | ||
Comment 5•6 years ago
|
||
Try run for the removal: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9f3b06549ea4d1d1e147b22248af9515a3568602
Assignee | ||
Comment 6•6 years ago
|
||
This code was added by Bug 1196542 to fix a permanently failing test on our
Windows test machines. After this landed, upstream added a check for empty
windows in window_captuer_win.cc, so this should no longer be a problem on
Windows. As far as I know, this was never a problem on the other platforms,
so this code can be safely removed.
Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/647ade4da0fb
Remove code to detect zero size windows; r=ng
Comment 8•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•