[Webkit-unassigned] [Bug 280337] New: [WPE][GTK] default currentTime is NaN
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 25 09:31:24 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280337
Bug ID: 280337
Summary: [WPE][GTK] default currentTime is NaN
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jean-yves.avenard at apple.com
When a MediaPlayerPrivateGStreamer, the initial currentTime will be NaN.
This is a consequence of 193933 at main
In `MediaTime MediaPlayerPrivateGStreamer::currentMediaTime() const` we have:
```
if (!m_pipeline || m_errorOccured)
return MediaTime::invalidTime();
```
m_pipeline may not be set until content has been fully retrieved.
Per spec, on creation a media element has its currentTime attribute set to 0, not NaN.
This causes assertion when you enable ManagedMediaSource which uses the currentTime value to determine what the readyState is going to be as we build TimeRanges containing currentTime
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240925/06fd37ad/attachment-0001.htm>
More information about the webkit-unassigned
mailing list