WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
293344
[Cocoa] VideoMediaSampleRenderer will decode continuously until playback has started.
https://bugs.webkit.org/show_bug.cgi?id=293344
Summary
[Cocoa] VideoMediaSampleRenderer will decode continuously until playback has ...
Jean-Yves Avenard [:jya]
Reported
2025-05-21 01:23:43 PDT
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
Comment 1
2025-05-21 01:28:08 PDT
<
rdar://problem/151757764
>
Jean-Yves Avenard [:jya]
Comment 2
2025-05-21 07:33:01 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/45700
EWS
Comment 3
2025-05-21 15:25:09 PDT
Committed
295236@main
(1866c8240680): <
https://commits.webkit.org/295236@main
> Reviewed commits have been landed. Closing PR #45700 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug