From 6fe795e301369fda0a7c447e02e759cc4ec9bbd3 Mon Sep 17 00:00:00 2001 From: Carlos Bentzen Date: Fri, 30 Aug 2024 12:54:41 +0200 Subject: [PATCH] wip: do not set immediate-output=TRUE on westerossink --- .../platform/gstreamer/GStreamerQuirkWesteros.cpp | 11 ----------- .../platform/gstreamer/GStreamerQuirkWesteros.h | 1 - 2 files changed, 12 deletions(-) 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: