commit | b6b4c12871693734354f7a9731c145ead2fa8d47 | [log] [tgz] |
---|---|---|
author | Will Cassella <cassew@chromium.org> | Tue Jun 21 18:13:41 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 21 18:13:41 2022 |
tree | 2e45cf625465d93301381194fdeb132464781c6b | |
parent | 94665b6ede3cd36d9a87c2ffd1a84f452d5ca805 [diff] |
HLS: Limit target duration to base::TimeDelta::FiniteMax() / 10 This CL sets a limit on the max value of the playlist's segment target duration to avoid potential sources of overflow. FiniteMax()/10 was chosen because it leaves plenty of headroom for situations where this value may be multiplied (when validating the EXT-X-SERVER-CONTROL tag for example), while still being quite large. In addition, this CL places a restriction on the value of the playlist's partial segment target duration, in that it may not exceeds the playlist's segment target duration. This CL includes tests for both restrictions. Bug: 1266991 Change-Id: Ie01498be38a4d22b1e501c69ad2681a7288e6a95 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3712368 Reviewed-by: Matthew Wolenetz <wolenetz@chromium.org> Commit-Queue: Will Cassella <cassew@chromium.org> Cr-Commit-Position: refs/heads/main@{#1016311}
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.