)]}'
{
  "commit": "fc7f8509f2db6fb8f78782ee302c6cdb409ac153",
  "tree": "266f5fbb79d37d09a40f0fce8acd59c300cdfbce",
  "parents": [
    "b5cf1fa607113788cf894d5b6895c72fba1d9254"
  ],
  "author": {
    "name": "Alexander Cooper",
    "email": "alcooper@chromium.org",
    "time": "Tue Jun 02 22:06:37 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jun 04 19:42:56 2026"
  },
  "message": "Add settling delay to CroppingWindowCapturer\n\nOn Windows, DXGI can be slow to update the window position in the\nscreen capture because DWM composition is deferred to vsync. If a\nwindow moves immediately before a capture attempt, the screen capture\nmight still show stale pixels from before the move.\n\nThis CL adds a check in CroppingWindowCapturer::CaptureFrame to detect\nif the window has moved since the last capture attempt. If a move is\ndetected, we fallback to the window capturer for one frame to allow\nDWM/DXGI to settle before we attempt screen capture again.\n\nFixed: chromium:518242046\nChange-Id: I89dd5cdd30aeb9cca4e2877916dfbeb4aaa612c3\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/477921\nReviewed-by: Mark Foltz \u003cmfoltz@chromium.org\u003e\nCommit-Queue: Alexander Cooper \u003calcooper@chromium.org\u003e\nAuto-Submit: Alexander Cooper \u003calcooper@chromium.org\u003e\nCr-Commit-Position: refs/heads/main@{#47899}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1fb192845387cb21cda5fb56553159b451cceb7f",
      "old_mode": 33188,
      "old_path": "modules/desktop_capture/cropping_window_capturer.cc",
      "new_id": "5716aad1bce693f6201eb138e40c25eb967955eb",
      "new_mode": 33188,
      "new_path": "modules/desktop_capture/cropping_window_capturer.cc"
    },
    {
      "type": "modify",
      "old_id": "fe95fc4e6f61ec54626edf6ae74aba595af19fec",
      "old_mode": 33188,
      "old_path": "modules/desktop_capture/cropping_window_capturer.h",
      "new_id": "32d334139df99da634cadc6df2fc7ba3e50d482a",
      "new_mode": 33188,
      "new_path": "modules/desktop_capture/cropping_window_capturer.h"
    }
  ]
}
