)]}'
{
  "commit": "9f37747f2e45f7c273eee56e209b65f03200952a",
  "tree": "ec589034f5bd82b59fc838abd92c38a69d0fdbdc",
  "parents": [
    "5d1040a5ab212231521202aeccd351d6d856b32a"
  ],
  "author": {
    "name": "Cheng Chen",
    "email": "chengchen@google.com",
    "time": "Tue Dec 05 15:51:39 2023 -0800"
  },
  "committer": {
    "name": "Cheng Chen",
    "email": "chengchen@google.com",
    "time": "Thu Dec 07 01:24:34 2023 +0000"
  },
  "message": "Update frame size in actual encoding\n\nIssue explanation:\nThe unit test calls set_config function twice after encoding the\nfirst frame.\nThe first call of set_config reduces frame height, but is still within\nhalf of the first frame.\nThe second call reduces frame height even more, making is less than\nhalf of the first frame, which according to the encoder logic,\nthere is no valid ref frames, and this frame should be set as a\nforced keyframe. This leads to null pointer access in scale_factors\nlater.\n\nSolution:\nTo make sure the correct detection of a forced key frame,\nwe need to update the frame width and height only when the actual\nencoding is performed.\n\nBug: b:310548198\nChange-Id: Ie8702eeac9917806950b7da3fe9befc2c7e34d7d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "641cf7a0c4ecf9c7eee249f0d8d1b329009f8ac3",
      "old_mode": 33188,
      "old_path": "av1/av1_cx_iface.c",
      "new_id": "1b5fda7a472d95670422ae2f85b9d51ef40c8dc5",
      "new_mode": 33188,
      "new_path": "av1/av1_cx_iface.c"
    },
    {
      "type": "modify",
      "old_id": "452a3a4a35fc35ea4463775960ca8a3de7b37616",
      "old_mode": 33188,
      "old_path": "av1/encoder/encoder.c",
      "new_id": "edc0ef779ae72cb6e75a2feed6d2b3aafada2af0",
      "new_mode": 33188,
      "new_path": "av1/encoder/encoder.c"
    },
    {
      "type": "modify",
      "old_id": "9d02993b2b2d3934be06e9aa6e2bcdd0d944a086",
      "old_mode": 33188,
      "old_path": "av1/encoder/encoder.h",
      "new_id": "02c89bca036a54468cecad67676127d9ad731cb1",
      "new_mode": 33188,
      "new_path": "av1/encoder/encoder.h"
    },
    {
      "type": "modify",
      "old_id": "fe0ff19bcc2d4dfd5ff2db8ebd8dd8b01d9f2bb5",
      "old_mode": 33188,
      "old_path": "test/encode_api_test.cc",
      "new_id": "035d955fc65a2e2dda60ac9b3296b5e3e15d630f",
      "new_mode": 33188,
      "new_path": "test/encode_api_test.cc"
    }
  ]
}
