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 BugsAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Enrique Ocaña
Comment 1 2026-01-20 11:12:23 PST
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.