commit | 8aa2e3dfc485c5031eb2c66c82471ef72129a442 | [log] [tgz] |
---|---|---|
author | Markus Handell <handellm@google.com> | Thu Nov 10 12:17:35 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 10 12:17:35 2022 |
tree | ab63141103ed108b3830e5e7e2d5e996dba1ae44 | |
parent | 6c50e322b7857c522c45afb6f8e71841720187bc [diff] |
VideoTrackRecorder: removed shared ownership & thread join. #1/2 This patch series removes VideoTrackRecorder usage of NonMainThread and shared VideoTrackRecorder::Encoder ownership. #1/2: Remove one `origin_task_runner_` dependency. When encoded data is available we don't really need to funnel that through the `origin_task_runner_` (which is the IO thread in this patch set) and can just run the encoded data callback directly, since that's already bound to the main thread and will arrive safe. The subsequent patch removes dependency on `origin_task_runner_` altogether. This change also fixes an existing test-only TSAN issue. Bug: 956045 Change-Id: I860556aa7f6556f3ea06afc29c22b3cd410c7799 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3963305 Reviewed-by: Henrik Boström <hbos@chromium.org> Commit-Queue: Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/main@{#1069702}
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.