Bug 302250
| Summary: | [MSE] Make MediaSourcePrivate::hasAudio/hasVideo thread-safe | ||
|---|---|---|---|
| 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]
The MediaPlayer will query the MediaSourcePrivate::hasAudio/hasVideo methods on the main thread.
But the MediaSourcePrivate may be running on a different thread/queue.
We should make this method thread-safe
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/164393150>
Alexey Proskuryakov
*** Bug 302249 has been marked as a duplicate of this bug. ***
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/53765
EWS
Committed 302975@main (f686ca89c6e1): <https://commits.webkit.org/302975@main>
Reviewed commits have been landed. Closing PR #53765 and removing active labels.