)]}'
{
  "commit": "742f069c561edf598ea71a1a33cd3d1e44052ce2",
  "tree": "aaed15c7a279f8af20dfb56323f012d73bff82b3",
  "parents": [
    "f216c2fac7258a7c6218eb7b720bc84a4d5b99b9"
  ],
  "author": {
    "name": "Urvang Joshi",
    "email": "urvang@google.com",
    "time": "Wed Apr 08 01:39:07 2026 +0000"
  },
  "committer": {
    "name": "Leo (Liang) Zhao",
    "email": "leolzhao@global.tencent.com",
    "time": "Wed Apr 08 01:39:07 2026 +0000"
  },
  "message": "CWG-G094: Bugfix for Output Order when Frames are Output at a Restricted Switch Frame\n\nOutput using av2_output_frame_buffers() in case of restricted_prediction_switch.\n\n**Background:** When we get a switch frame with restricted_prediction_switch \u003d\u003d 1, all frames that are going to be set as restricted need to be output first (if eligible for output -- e.g. because implicit_output_frame \u003d\u003d 1).\n\n**Issue:** Currently, these reference frames get output in the order they appear in ref_frame_map array -- ignoring their display_order_hint values. This makes it very easy for encoder to make a mistake -- if reference frames in the DPB are NOT in the display order hint order, they will get output in the wrong order.\n\n**Solution:** Instead of calling `assign_output_frame_buffer_p`, call `av2_output_frame_buffers` directly to output previous, current and future eligible frames in correct order.\n\nFixes #1466\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f466cf67bcf7ea9dc0483968a22843123d120861",
      "old_mode": 33188,
      "old_path": "av2/decoder/decodeframe.c",
      "new_id": "13db610b38035fc20f875b7ed5cd28d86d31a08b",
      "new_mode": 33188,
      "new_path": "av2/decoder/decodeframe.c"
    },
    {
      "type": "modify",
      "old_id": "0f8210622a96bf51aa1bfe47a56ba5a4f06ddb88",
      "old_mode": 33188,
      "old_path": "av2/decoder/decoder.c",
      "new_id": "634230f3f90e3a71cf30f2129976686742b8294a",
      "new_mode": 33188,
      "new_path": "av2/decoder/decoder.c"
    },
    {
      "type": "modify",
      "old_id": "242c1cf1cbc50d48f67ad533462ceeff19dc0744",
      "old_mode": 33188,
      "old_path": "av2/decoder/decoder.h",
      "new_id": "f102a0ce3634ebb27ecc21de64e744ccb538c931",
      "new_mode": 33188,
      "new_path": "av2/decoder/decoder.h"
    }
  ]
}
