[Webkit-unassigned] [Bug 230829] New: [MSE][GStreamer] Don't create MediaSourceTrackGStreamer objects twice for the same track

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 27 07:07:05 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230829

            Bug ID: 230829
           Summary: [MSE][GStreamer] Don't create
                    MediaSourceTrackGStreamer objects twice for the same
                    track
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com
                CC: bugs-noreply at webkitgtk.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210927/c8c0c2f9/attachment.htm>


More information about the webkit-unassigned mailing list