From bb645e2eea6d9973014548a01834b2a45fb6e3af Mon Sep 17 00:00:00 2001 From: Jacek Skiba Date: Tue, 31 Oct 2023 12:07:11 +0100 Subject: [PATCH] [ONEM-33064] Support only hardware decoders Port of Comcast patch --- .../libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp b/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp index 4edb43f0d4246..2cbee2657b191 100644 --- a/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp +++ b/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp @@ -307,7 +307,7 @@ class GStreamerVideoDecoder : public webrtc::VideoDecoder { static GRefPtr GstDecoderFactory(const char *capsStr) { - return GStreamerRegistryScanner::singleton().isCodecSupported(GStreamerRegistryScanner::Configuration::Decoding, String::fromUTF8(capsStr), false).factory; + return GStreamerRegistryScanner::singleton().isCodecSupported(GStreamerRegistryScanner::Configuration::Decoding, String::fromUTF8(capsStr), true).factory; } bool HasGstDecoder()