)]}'
{
  "commit": "679c8ed2cda9048369264127d210a0c3eb64f500",
  "tree": "7c66df737852487714c0118de5b77cf7ec7e6898",
  "parents": [
    "2ae5b57e46eee84aab8f7a0f9909c60b4b770645"
  ],
  "author": {
    "name": "Alexandre Courbot",
    "email": "acourbot@chromium.org",
    "time": "Tue Oct 13 09:39:58 2020"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Wed Oct 14 07:53:41 2020"
  },
  "message": "libv4l-rockchip_v2: limit encoder OUTPUT buffers to 2\n\nFor some reason this encoder is the only one that is not happy if we\nallocate more than 2 OUTPUT buffers. https://crrev.com/c/2415911 changed\nthat default to 32 buffers when using DMABUF, which causes it to freeze\nduring flush.\n\nPrevent this from happening by forcing the number of buffers to a\nmaximum of 2 on the OUTPUT queue. Interestingly the CAPTURE queue does\nnot suffer from this problem.\n\nIt would be better to fix this in the kernel, but since this driver in\nthe old kernel 4.4 is dependent on a V4L plugin and thus non-conformant\nanyway, let\u0027s fix it here and let it deprecate.\n\nBUG\u003db:170657091\nTEST\u003dvideo.EncodeAccel.h264_192p_nv12_dmabuf passes on Kevin.\n\nChange-Id: Ie690dec8681a8b22c458015847de46c31316f35e\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libv4lplugins/+/2467564\nCommit-Queue: Alexandre Courbot \u003cacourbot@chromium.org\u003e\nCommit-Queue: Chih-Yu Huang \u003cakahuang@chromium.org\u003e\nTested-by: Alexandre Courbot \u003cacourbot@chromium.org\u003e\nReviewed-by: Chih-Yu Huang \u003cakahuang@chromium.org\u003e\nAuto-Submit: Alexandre Courbot \u003cacourbot@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e075cc9fc5f99ca940f77cf682e3274451bf3702",
      "old_mode": 33188,
      "old_path": "libv4l-rockchip_v2/libv4l-encplugin-rockchip.c",
      "new_id": "078164de7d30e0505bbc9d565c64385f214674c2",
      "new_mode": 33188,
      "new_path": "libv4l-rockchip_v2/libv4l-encplugin-rockchip.c"
    }
  ]
}
