)]}'
{
  "commit": "e1caa732b402c0d293dc53a5f3331d3c7d010303",
  "tree": "c18290452cba5480b698b4768242227fc16dfce4",
  "parents": [
    "7424e9ee54e8d2a60acea97862ed4954d91dc1bb"
  ],
  "author": {
    "name": "Johannes Kron",
    "email": "kron@webrtc.org",
    "time": "Mon Nov 03 10:04:29 2025"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jun 15 11:04:11 2026"
  },
  "message": "Consolidate temporal layer limit to kMaxTemporalStreams\n\nThe VP8 and VP9 RTP reference finders defined their own local constant,\n`kMaxTemporalLayers`, with a value of 5. This was inconsistent with the\nglobal constant `kMaxTemporalStreams`, which has a value of 4 and is\nused for this purpose elsewhere.\n\nThis patch removes the redundant local `kMaxTemporalLayers` definitions\nin `rtp_vp8_ref_finder.h` and `rtp_vp9_ref_finder.h`. All usages (array\nbounds, frame validation checks, and log messages) are updated to use\nthe global `kMaxTemporalStreams` constant instead.\n\nThis change aligns the validation logic with the rest of the codebase,\ndropping frames with a temporal index of 4 or greater.\n\nFixed: chromium:456855150\nChange-Id: I0de0b2b765ccf9bef30dfbca504b9c9f7179dabe\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/422720\nReviewed-by: Erik Språng \u003csprang@webrtc.org\u003e\nCommit-Queue: Johannes Kron \u003ckron@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#48002}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c88b08a28cd8f56acf84a6ddd9976922222b8551",
      "old_mode": 33188,
      "old_path": "modules/video_coding/rtp_vp8_ref_finder.cc",
      "new_id": "fb7e511d16a1c10f61ba69daf8bb4b5efd6e8dd9",
      "new_mode": 33188,
      "new_path": "modules/video_coding/rtp_vp8_ref_finder.cc"
    },
    {
      "type": "modify",
      "old_id": "8f581ca90a0128272a9355d9b3617b3f897e2bb1",
      "old_mode": 33188,
      "old_path": "modules/video_coding/rtp_vp8_ref_finder.h",
      "new_id": "49b2f779f0d60d6254b48267b6d69a0b26ce6bfa",
      "new_mode": 33188,
      "new_path": "modules/video_coding/rtp_vp8_ref_finder.h"
    },
    {
      "type": "modify",
      "old_id": "ab2345f2fbb9df505711d365e282da08c83123fe",
      "old_mode": 33188,
      "old_path": "modules/video_coding/rtp_vp9_ref_finder.cc",
      "new_id": "ccc2d7bfac133aae9e1d3107c35cc48594979534",
      "new_mode": 33188,
      "new_path": "modules/video_coding/rtp_vp9_ref_finder.cc"
    },
    {
      "type": "modify",
      "old_id": "d28a78737b53b1f760bbf427abe197e0f1733b5f",
      "old_mode": 33188,
      "old_path": "modules/video_coding/rtp_vp9_ref_finder.h",
      "new_id": "c9765fe60b7c916939d47efa6ba42d67610c5980",
      "new_mode": 33188,
      "new_path": "modules/video_coding/rtp_vp9_ref_finder.h"
    },
    {
      "type": "modify",
      "old_id": "17ca8060d10949b70a341b01ddc0a65cdd799935",
      "old_mode": 33188,
      "old_path": "modules/video_coding/rtp_vp9_ref_finder_unittest.cc",
      "new_id": "b143290b12d63f37eebd1c207911cabba0d4a7eb",
      "new_mode": 33188,
      "new_path": "modules/video_coding/rtp_vp9_ref_finder_unittest.cc"
    }
  ]
}
