)]}'
{
  "commit": "5dfa7da36249f52b8e04acaaf86bc5a817766993",
  "tree": "becdac5e2ff05a02960c2da4d4162399c9f0f94d",
  "parents": [
    "67e9f70c575b2fb2b6c805b01136ef07d5b94f7e"
  ],
  "author": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Fri Oct 15 14:05:38 2021 -0700"
  },
  "committer": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Fri Oct 15 16:42:49 2021 -0700"
  },
  "message": "Use \"C420\" as default Y4M color space parameter\n\nIf the Y4M header does not have a \u0027C\u0027 (color space) parameter, default\nto \"C420\". This matches the defaults of libaom\u0027s aomenc and ffmpeg.\n\n1. aom/common/y4minput.c:\n\nstatic int parse_tags(y4m_input *y4m_ctx, FILE *file) {\n  ...\n  snprintf(y4m_ctx-\u003echroma_type, sizeof(y4m_ctx-\u003echroma_type), \"420\");\n\n2. ffmpeg/libavformat/yuv4mpegdec.c:\n\nstatic int yuv4_read_header(AVFormatContext *s)\n{\n    ...\n    enum AVPixelFormat pix_fmt \u003d AV_PIX_FMT_NONE, alt_pix_fmt \u003d AV_PIX_FMT_NONE;\n    ...\n    if (pix_fmt \u003d\u003d AV_PIX_FMT_NONE) {\n        if (alt_pix_fmt \u003d\u003d AV_PIX_FMT_NONE)\n            pix_fmt \u003d AV_PIX_FMT_YUV420P;\n        else\n            pix_fmt \u003d alt_pix_fmt;\n    }\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "695561ec8942302e8ab8c1c4e7fda160a42608c4",
      "old_mode": 33188,
      "old_path": "apps/shared/y4m.c",
      "new_id": "8c807728f9fa2cc054776a6b2464b3eedfe5bcf1",
      "new_mode": 33188,
      "new_path": "apps/shared/y4m.c"
    }
  ]
}
