zijiehe
7343c8e09f
DirectX capturer may crash after switching shared screen
...
The root cause is because the offset used in DxgiOutputDuplicator should always
depend on the position of the monitor in the system instead of the offset in the
target frame. Otherwise, once switching between two monitors with different
screen size, the updated region in the context would base on the old monitor,
and cause the copied regions to be out of the source DesktopFrame.
This issue also impacts the SpreadContextChange() function, the updated region
stores in the Context should also only depend on the position of the monitor.
BUG=chromium:706797
Review-Url: https://codereview.webrtc.org/2801433002
Cr-Commit-Position: refs/heads/master@{#17548}
2017-04-05 21:21:58 +00:00
..
2017-04-05 12:00:33 +00:00
2017-04-05 21:21:58 +00:00
2017-04-05 12:00:33 +00:00
2017-03-03 22:40:15 +00:00
2017-03-03 22:40:15 +00:00
2017-03-03 22:40:15 +00:00
2017-03-22 08:13:39 +00:00
2016-06-07 23:42:07 +00:00
2016-06-07 23:42:07 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2016-11-21 21:54:30 +00:00
2017-03-22 08:13:39 +00:00
2017-04-05 12:00:33 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2016-10-26 20:15:47 +00:00
2017-03-23 07:02:01 +00:00
2016-11-11 05:57:19 +00:00
2016-11-02 21:49:38 +00:00
2016-11-02 21:49:38 +00:00
2017-03-17 22:33:27 +00:00
2016-11-07 23:25:22 +00:00
2016-09-21 19:23:22 +00:00
2016-09-05 22:26:40 +00:00
2016-11-23 01:17:19 +00:00
2016-11-30 00:09:57 +00:00
2016-11-30 00:09:57 +00:00
2017-04-05 12:00:33 +00:00
2016-10-26 20:15:47 +00:00
2017-03-22 18:38:46 +00:00
2017-03-22 18:38:46 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-29 00:42:08 +00:00
2016-04-22 11:59:34 +00:00
2016-04-22 11:59:34 +00:00
2016-10-01 05:29:53 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2016-09-05 22:26:40 +00:00
2017-02-17 22:32:04 +00:00
2017-02-17 22:32:04 +00:00
2017-02-21 23:00:07 +00:00
2017-02-21 23:00:07 +00:00
2017-02-21 23:00:07 +00:00
2016-11-12 01:18:39 +00:00
2016-11-12 01:18:39 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2016-03-16 22:58:13 +00:00
2016-11-16 19:11:38 +00:00
2017-02-16 20:07:44 +00:00
2017-02-16 20:07:44 +00:00
2016-09-29 00:42:08 +00:00
2016-09-21 19:23:22 +00:00
2017-03-03 22:40:15 +00:00
2016-06-07 23:42:07 +00:00
2016-09-29 00:42:08 +00:00
2017-04-05 12:00:33 +00:00
2016-04-26 15:14:48 +00:00
2016-12-12 07:30:09 +00:00
2016-11-12 01:18:39 +00:00
2017-04-05 12:00:33 +00:00
2016-11-11 05:57:19 +00:00
2016-11-12 01:18:39 +00:00
2017-03-03 22:40:15 +00:00
2017-04-05 12:00:33 +00:00
2017-01-12 10:24:27 +00:00
2016-10-19 01:22:25 +00:00
2017-04-05 12:00:33 +00:00
2016-11-19 04:31:10 +00:00
2016-10-19 01:22:25 +00:00
2016-10-19 01:22:25 +00:00
2017-04-03 18:51:18 +00:00
2016-10-20 16:34:04 +00:00
2017-02-17 22:32:04 +00:00
2016-11-23 01:17:19 +00:00
2016-11-23 01:17:19 +00:00
2016-11-23 01:17:19 +00:00
2017-04-05 12:00:33 +00:00
2016-11-11 05:57:19 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00
2017-04-05 12:00:33 +00:00