commit | e34b788e83c59ca9bc8a7004e9f45e7b585a3cbe | [log] [tgz] |
---|---|---|
author | Markus Handell <handellm@google.com> | Thu Feb 29 06:17:18 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 29 06:17:18 2024 |
tree | a9d24d1d2b3acee287c46386964da88ceea54a31 | |
parent | 6d7e2ed010e5d9c653aa3a1c9d88777b0bfdfcaa [diff] |
Allow for video capturers to provide sample timestamps. This CL adds support to provide OS-provided sample timestamps into VideoFrame::metadata().capture_begin_time. With the change, VideoCaptureDevice::Client methods accepting frames are getting a new optional base::TimeTicks indicating an optional capture begin time. The present timestamps are used in different parts of chrome and can't be re-purposed. No capturers were updated to supply the new timestamp, this CL only has the plumbing. Bug: 40287630 Change-Id: I71133c42875b861a55671560679d450a4eaad4f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5326898 Reviewed-by: Guido Urdaneta <guidou@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Auto-Submit: Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/main@{#1266840}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.