Bug 305858
| Summary: | [GST][MSE] Make sure to extend only the very first sample when DTS = 0 and PTS > 0 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Enrique Ocaña <eocanha> |
| Component: | New Bugs | Assignee: | Enrique Ocaña <eocanha> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Enrique Ocaña
In the absence of an edit list, ensure that WebKit’s AppendPipeline extends only a single sample.
This fixes the handling of invalid streams with multiple DTS = 0 samples. Modifying PTS values for all of them results in unexpected behavior, playback issues, PTS reordering, etc.
The problem was spotted in a video web application that uses TS -> MSE transmuxing.
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1601
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Enrique Ocaña
Pull request: https://github.com/WebKit/WebKit/pull/56917
Enrique Ocaña
Withdrawing this PR/bug, since in the end we found a better solution to the problem by just applying a condition that was already present upstream.
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1601