WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
305858
[GST][MSE] Make sure to extend only the very first sample when DTS = 0 and PTS > 0
https://bugs.webkit.org/show_bug.cgi?id=305858
Summary
[GST][MSE] Make sure to extend only the very first sample when DTS = 0 and PT...
Enrique Ocaña
Reported
2026-01-20 10:57:08 PST
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
Comment 1
2026-01-20 11:12:23 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56917
Enrique Ocaña
Comment 2
2026-01-22 06:46:01 PST
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
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