WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
254674
[GStreamer] Fix crash on devices where video sink is auto-plugged
https://bugs.webkit.org/show_bug.cgi?id=254674
Summary
[GStreamer] Fix crash on devices where video sink is auto-plugged
Enrique Ocaña
Reported
2023-03-29 10:25:35 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Enrique Ocaña
Comment 1
2023-03-29 10:49:27 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/12123
Enrique Ocaña
Comment 2
2023-03-29 10:50:22 PDT
See:
https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1059
EWS
Comment 3
2023-06-12 05:56:27 PDT
Committed
265066@main
(869bf0a64f0f): <
https://commits.webkit.org/265066@main
> Reviewed commits have been landed. Closing PR #12123 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2023-06-12 05:57:16 PDT
<
rdar://problem/110639133
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug