)]}'
{
  "commit": "4d75e276262927deb4ebf0df5bd1da03b57e6dcb",
  "tree": "a1193d3d4e21c53a02741e1606400315521960ae",
  "parents": [
    "2e38b6834d4118fd327565cf9b22c8ce902672fe"
  ],
  "author": {
    "name": "Erik Språng",
    "email": "sprang@webrtc.org",
    "time": "Fri Jul 10 14:48:31 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Jul 10 16:16:43 2026"
  },
  "message": "Fix incorrect spatial id handling wrt frame metadata handler.\n\nIn some cases when simulcast is used, the spatial id is explicitly set\nto 0. In VideoStreamEncoder, this lead to a problem the `stream_idx`\nwas set to 0 for all simulcast streams - prevent proper handling in the\nframe encoder metadata writer.\n\nThis can be solved by simply taking the maximum of simulcast and spatial\nid (or zero).\n\nBug: webrtc:42225300\nChange-Id: If2b65ad0fdf9a44fb9e1bfb28adf87402b864a20\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/488380\nReviewed-by: Sergey Silkin \u003cssilkin@webrtc.org\u003e\nCommit-Queue: Erik Språng \u003csprang@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#48181}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "59c4b38adddbaf86d41f8cf479ae9181ae41f71c",
      "old_mode": 33188,
      "old_path": "video/video_stream_encoder.cc",
      "new_id": "4cc7353a9a8fe9f2b758632e72295407e5c7394b",
      "new_mode": 33188,
      "new_path": "video/video_stream_encoder.cc"
    },
    {
      "type": "modify",
      "old_id": "28dae716655c5bec7a625a618893f6abd739eb0e",
      "old_mode": 33188,
      "old_path": "video/video_stream_encoder_unittest.cc",
      "new_id": "656a8afc4f1221a5c23922641c3183adcd3bcb9e",
      "new_mode": 33188,
      "new_path": "video/video_stream_encoder_unittest.cc"
    }
  ]
}
