The existing code in SourceBufferPrivateGStreamer::didReceiveInitializationSegment() was not checking if the track already existing, creating and immediately destroying a MediaSourceTrackGStreamer, which then crashed on an assertion (ASSERTION FAILED: m_isRemoved). This fixes the following two tests which were crashing with the former assertion when running in Debug: - media/media-source/media-mp4-h264-partial-abort.html - media/media-source/media-source-abort-resets-parser.html
Created attachment 439350 [details] Patch
Comment on attachment 439350 [details] Patch Doesn't this need changing the expectations?
(In reply to Xabier Rodríguez Calvar from comment #2) > Comment on attachment 439350 [details] > Patch > > Doesn't this need changing the expectations? No, because the expectations were not updated in the first place, they were appearing as unexpected crashes.
Committed r283176 (242224@main): <https://commits.webkit.org/242224@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439350 [details].