Bug 276251
| Summary: | [MSE][GStreamer] block data flow until source pad is exposed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Enrique Ocaña <eocanha> |
| Component: | Media | Assignee: | Enrique Ocaña <eocanha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Enrique Ocaña
In WebKitMediaSrc, there could be a race between main thread (linking typefind element, see gsturisourcebin.c:setup_typefind)
and streaming thread (pushing data). webKitMediaSrcLoop does wait for source pad to linked. However, there is no guarantee
that peer pad is already active at that point. This may lead to data loss while peer the pad is being activated.
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1355
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Enrique Ocaña
Pull request: https://github.com/WebKit/WebKit/pull/30515
EWS
Committed 280813@main (04cc4a4e2fc2): <https://commits.webkit.org/280813@main>
Reviewed commits have been landed. Closing PR #30515 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/131451882>