diff --git a/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.cpp b/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.cpp index 9dea4ed41f27..a29d7b6e5338 100644 --- a/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.cpp +++ b/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.cpp @@ -66,6 +66,10 @@ GStreamerQuirkRialto::GStreamerQuirkRialto() m_sinkCaps = WTFMove(templateCaps); } } + + m_disallowedWebAudioDecoders = { + "rialtomseaudiosink"_s + }; } bool GStreamerQuirkRialto::isPlatformSupported() const diff --git a/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.h b/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.h index 001694a7fe4c..51076eab6f50 100644 --- a/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.h +++ b/Source/WebCore/platform/gstreamer/GStreamerQuirkRialto.h @@ -41,11 +41,13 @@ class GStreamerQuirkRialto final : public GStreamerQuirk { GstElement* createAudioSink() final; GstElement* createWebAudioSink() final; std::optional isHardwareAccelerated(GstElementFactory*) final; + Vector disallowedWebAudioDecoders() const final { return m_disallowedWebAudioDecoders; } bool shouldParseIncomingLibWebRTCBitStream() const final { return false; } unsigned getAdditionalPlaybinFlags() const { return getGstPlayFlag("text") | getGstPlayFlag("native-audio") | getGstPlayFlag("native-video"); } bool needsCustomInstantRateChange() const final { return true; } private: + Vector m_disallowedWebAudioDecoders; GRefPtr m_sinkCaps; };