[Webkit-unassigned] [Bug 254674] New: [GStreamer] Fix crash on devices where video sink is auto-plugged

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 29 10:25:35 PDT 2023


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

            Bug ID: 254674
           Summary: [GStreamer] Fix crash on devices where video sink is
                    auto-plugged
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eocanha at igalia.com

Some (downstream) platforms don't have any specific videosink enforced and use autoplugging instead. This means that createVideoSink() will return nullptr and the sink will be created automatically (autoplugged) when the time comes. However, the lambda[1] that sets max-lateness at createVideoSink() triggers an assert if the sink is null at that point.

[1] https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp#L3940

-- 
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/20230329/b8fdbc84/attachment.htm>


More information about the webkit-unassigned mailing list