[webkit-changes] [WebKit/WebKit] a41146: [GStreamer][Debug] ASSERTs in RegistryScanner when...
Philippe Normand
noreply at github.com
Thu Jul 18 05:58:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a4114606a8641eb68c46be42cdb1399f5631a369
https://github.com/WebKit/WebKit/commit/a4114606a8641eb68c46be42cdb1399f5631a369
Author: Philippe Normand <philn at igalia.com>
Date: 2024-07-18 (Thu, 18 Jul 2024)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h
Log Message:
-----------
[GStreamer][Debug] ASSERTs in RegistryScanner when re-initialized from WebAudio webworker
https://bugs.webkit.org/show_bug.cgi?id=276721
Reviewed by Xabier Rodriguez-Calvar.
AtomString cannot be used in the GStreamer RegistryScanner because it can be initialized from one
thread and refreshed from another. Use String instead, and ASCIILiteral where possible.
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::refresh):
(WebCore::GStreamerRegistryScanner::fillMimeTypeSetFromCapsMapping):
(WebCore::GStreamerRegistryScanner::initializeDecoders):
(WebCore::GStreamerRegistryScanner::initializeEncoders):
(WebCore::GStreamerRegistryScanner::isCodecSupported const):
(WebCore::GStreamerRegistryScanner::isContentTypeSupported const):
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h:
Canonical link: https://commits.webkit.org/281085@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list