commit | bbbdae193f0468e00b752ce0795ec84df447d791 | [log] [tgz] |
---|---|---|
author | Vigen Issahhanjan <vigeni@google.com> | Tue Nov 05 17:39:54 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 05 17:39:54 2024 |
tree | 5c5c2c4c6830d5a7ce54d255213c93876e71a3cd | |
parent | 46f9a55c841892a23b60d9a58e9cb346ff53d639 [diff] |
Always provide one buffer to demuxer. The https://crrev.com/c/4021117 introduced a |count| argument to DemuxerStream::Read API that reflects maximum buffers to provide to the Demuxer, along with a DCHECK that the number of buffers must be 1. In reality the API might be called with count > 1 (verified with Cast Core), which is not something current provider impl supports (it's pulling a buffer at a time in async mode). As |count| reflects maximum number of buffers, providing 1 is still ok per contract, hence this change. No-try: true Bug: b:376753713 Change-Id: I7a13f1b3ebd98b41688f3d4af1a4475ad5b8bb1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5979236 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Vigen Issahhanjan <vigeni@google.com> Reviewed-by: Mark Foltz <mfoltz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1378430}
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.