To avoid the IPC overhead for every parsed sample, this patch depends on the patch for bug #219332.
Created attachment 415487 [details]
Created attachment 415493 [details]
WIP - fix layout test crashes
Created attachment 415504 [details]
WIP - fix issues on youtube
Created attachment 415506 [details]
WIP - update MockSourceBufferPrivate to fix layout test failures
Created attachment 415512 [details]
WIP - fix build failures on GTK/WPE and layout test failures
Created attachment 415531 [details]
Comment on attachment 415531 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=415531&action=review
> + `SourceBufferPrivate` can figure the values of `hasAudio` and `hasVideo` because it
Had a discussion with Jer. The condition variable usage in the source buffer parser seems fragile (and unnecessary). I will upload a new patch.
Created attachment 415699 [details]
Update the patch based on Jer's comment
Created attachment 415705 [details]
Created attachment 415785 [details]
Update the patch based on a discussion with Jer
Created attachment 415810 [details]
Comment on attachment 415810 [details]
Fix a layout test failure on WK1.
Committed r270612: <https://trac.webkit.org/changeset/270612>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 415810 [details].