This patch ensures that when WebM MSE media segments are appended in an out of order fashion their frames are not discarded by opusparse or any other potential elements downstream in the AppendPipeline that perform segment clipping. This patch fixes the following YTTV 2018 tests: 38. OpusAudioWithOverlap 39. OpusAudioWithSmallGap 40. OpusAudioWithLargeGap 70. VP9VideoWithOverlap 71. VP9VideoWithSmallGap This patch is necessary, but not sufficient for fixing the following YTTV 2018 tests: 36. AppendOpusAudioOutOfOrder 67. AppendVP9VideoOutOfOrder
Created attachment 340628 [details] Patch
It looks good. Let's have Quique having last word.
Comment on attachment 340628 [details] Patch Clearing flags on attachment: 340628 Committed r232014: <https://trac.webkit.org/changeset/232014>
All reviewed patches have been landed. Closing bug.