)]}'
{
  "commit": "71b521e4af0744f21ff63513141b0377f4754e8d",
  "tree": "a51f2abeff6554367f158c84bc5c1319f9e5103a",
  "parents": [
    "4248d04039fd19077864e3cc3a57a3c68faf0cf5"
  ],
  "author": {
    "name": "Fredrik Solenberg",
    "email": "solenberg@google.com",
    "time": "Tue Oct 06 14:59:05 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Oct 07 07:42:37 2026"
  },
  "message": "Add move operations to VideoEncoder::EncoderInfo\n\nEncoderInfo declares a copy constructor and a destructor, so it has no\nimplicit move operations, and std::move on an EncoderInfo copies it.\nFor example, the EncoderContext constructor in SimulcastEncoderAdapter\nand the EncoderSettings constructor take EncoderInfo by value and move\nit into a member, which made a copy.\n\nAdd a defaulted move constructor and move assignment operator, and\ndeclare the copy assignment operator, which declaring a move\nconstructor would otherwise delete. Like the existing copy constructor\nand destructor, they are defaulted out of line.\n\nAlso move the primary and fallback infos into the new EncoderContext in\nSimulcastEncoderAdapter::FetchOrCreateEncoderContext, as they are not\nused afterwards. Creating an encoder context now copies EncoderInfo\nonce instead of six times.\n\nBug: webrtc:374845009\nChange-Id: I77cd7211314a62fd12a871e4b88d081ab858bbb7\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/507722\nReviewed-by: Danil Chapovalov \u003cdanilchap@webrtc.org\u003e\nCommit-Queue: Fredrik Solenberg \u003csolenberg@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#48816}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79c6437cbdc4abb75f036e7074df4770785767db",
      "old_mode": 33188,
      "old_path": "api/video_codecs/video_encoder.cc",
      "new_id": "24167e36338f6b87624c7985db66383d00e8f1e8",
      "new_mode": 33188,
      "new_path": "api/video_codecs/video_encoder.cc"
    },
    {
      "type": "modify",
      "old_id": "b5cbd8aacd50edebe0270659f606e2173f0fd5d1",
      "old_mode": 33188,
      "old_path": "api/video_codecs/video_encoder.h",
      "new_id": "dce07c325cf0412220f7b54fe009062b1265e295",
      "new_mode": 33188,
      "new_path": "api/video_codecs/video_encoder.h"
    },
    {
      "type": "modify",
      "old_id": "4a3fdf7fded75c2023889cb9f0560c773635dff6",
      "old_mode": 33188,
      "old_path": "media/engine/simulcast_encoder_adapter.cc",
      "new_id": "83680f9ae35d56d98d04a8c25fb1e4bdd151d406",
      "new_mode": 33188,
      "new_path": "media/engine/simulcast_encoder_adapter.cc"
    }
  ]
}
