| commit | c97a473f9767365afaedb643bb2a95d827f52c98 | [log] [tgz] |
|---|---|---|
| author | Thomas Guilbert <tguilbert@chromium.org> | Thu Apr 24 00:01:41 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 24 00:01:41 2025 |
| tree | d8ee730d7761fc649c1564cab17f20fda831e990 | |
| parent | cdd06226b2da1332167648be61f7630b4a6fc95b [diff] |
Fix infinite duration regression The M137 FFmpeg roll (commit fe18bb140331c71687631e874c9d0020557bbc60) updated duration calculations to exclude discard padding. New logic was added to prevent duration from being re-increased as a file plays, and the timestamps of packets meant for discard exceed the duration of the file. This new logic introduced a regression, where a file with a finite duration was being updated to have infinite duration. This disables seeking in said files, since we use infinite duration as a special case for unseekable live-streams. This CL fixes the issue by ignoring packets marked for full discard when determining the first valid timestamp (from which we calculate a running duration). Bug: 411037945 Change-Id: Iead67a8ded342f1baf0a5ac8cee5fb1a0fcde804 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6481566 Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/main@{#1450876}
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.