commit | 53cc7728e0f3860cf71c5ece4b9f2baec978b9c8 | [log] [tgz] |
---|---|---|
author | Dan Sanders <sandersd@chromium.org> | Tue May 03 23:03:33 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 03 23:03:33 2022 |
tree | ed88f9b27e01dbef7079b4e29836b6633c03a284 | |
parent | 853b739e659f56cf0b5f4a8dcb47c7a9ae393bd5 [diff] |
[media] Notify time changed on elided seek When a seek is elided because the seek target is the current time, WMPI signals HTMLMediaElement by temporarily lowering the readyState then raising it again. HTMLMediaElement however detects seek completion when timeChanged() is called. For ordinary seeks, the request to call timeChanged() is made by OnPipelineSeeked(), which enables is to work correctly across suspend/resume. This change sets the |should_notify_time_changed_| flag for elided seeks as well. Bug: 1317359 Change-Id: Ia7308aaebe824f46353358a07fe08bdf5f66236a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3617642 Commit-Queue: Dan Sanders <sandersd@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/main@{#999122}
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.