diff --git a/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.cpp b/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.cpp index 0ef739ee4c562..50528cdc2cf8a 100644 --- a/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.cpp +++ b/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.cpp @@ -51,17 +51,6 @@ GStreamerQuirkWesteros::GStreamerQuirkWesteros() } } -void GStreamerQuirkWesteros::configureElement(GstElement* element, const OptionSet& characteristics) -{ - if (!characteristics.contains(ElementRuntimeCharacteristics::IsMediaStream)) - return; - - if (!g_strcmp0(G_OBJECT_TYPE_NAME(G_OBJECT(element)), "GstWesterosSink") && gstObjectHasProperty(element, "immediate-output")) { - GST_INFO("Enable 'immediate-output' in WesterosSink"); - g_object_set(element, "immediate-output", TRUE, nullptr); - } -} - std::optional GStreamerQuirkWesteros::isHardwareAccelerated(GstElementFactory* factory) { if (g_str_has_prefix(GST_OBJECT_NAME(factory), "westeros")) diff --git a/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.h b/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.h index 518e512ecafec..59b62a0505fe6 100644 --- a/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.h +++ b/Source/WebCore/platform/gstreamer/GStreamerQuirkWesteros.h @@ -31,7 +31,6 @@ class GStreamerQuirkWesteros final : public GStreamerQuirk { GStreamerQuirkWesteros(); const char* identifier() final { return "Westeros"; } - void configureElement(GstElement*, const OptionSet&) final; std::optional isHardwareAccelerated(GstElementFactory*) final; private: