merge_pr_51479
Implement VideoEncoder orientation support.
This assumes the spec text will be written to say the following:
- The first frame after a configure() will lock in the orientation.
- Calling configure() again will reset the orientation metadata.
- If subsequent frames mismatch on orientation encode() will throw
a non-fatal exception.
R=eugene
Bug: 40243431
Change-Id: Id9d68f036e34fd5c697a49921c853c4f199195f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6311293
Reviewed-by: Eugene Zemtsov [email protected]
Commit-Queue: Eugene Zemtsov [email protected]
Commit-Queue: Dale Curtis [email protected]
Auto-Submit: Dale Curtis [email protected]
Cr-Commit-Position: refs/heads/main@{#1435163}