Bug 293344
| Summary: | [Cocoa] VideoMediaSampleRenderer will decode continuously until playback has started. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
https://searchfox.org/wubkat/rev/a4ab006bdf55fb59302f8cffb4c8ade78cdf0dad/Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm#502-509
`if (auto currentTime = this->currentTime(); currentTime && !m_wasProtected) {`
currentTime returns invalidTime() if there's no time available, but we are testing if the time isn't 0. The time will be zero until playback has started.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/151757764>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/45700
EWS
Committed 295236@main (1866c8240680): <https://commits.webkit.org/295236@main>
Reviewed commits have been landed. Closing PR #45700 and removing active labels.