Title: [291544] trunk/Source/WebCore
Revision
291544
Author
[email protected]
Date
2022-03-20 07:18:58 -0700 (Sun, 20 Mar 2022)

Log Message

REGRESSION(r289154) [GSTREAMER] webrtc/vp8-then-h264.html is crashing after SDK update to fdo 21.08 and Gstreamer 1.20
https://bugs.webkit.org/show_bug.cgi?id=237872

Patch by Philippe Normand <[email protected]> on 2022-03-20
Reviewed by Adrian Perez de Castro.

* platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp:
(WebCore::VP8Decoder::Create): Fix typo in decoder factory test.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (291543 => 291544)


--- trunk/Source/WebCore/ChangeLog	2022-03-20 13:37:16 UTC (rev 291543)
+++ trunk/Source/WebCore/ChangeLog	2022-03-20 14:18:58 UTC (rev 291544)
@@ -1,3 +1,13 @@
+2022-03-20  Philippe Normand  <[email protected]>
+
+        REGRESSION(r289154) [GSTREAMER] webrtc/vp8-then-h264.html is crashing after SDK update to fdo 21.08 and Gstreamer 1.20
+        https://bugs.webkit.org/show_bug.cgi?id=237872
+
+        Reviewed by Adrian Perez de Castro.
+
+        * platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp:
+        (WebCore::VP8Decoder::Create): Fix typo in decoder factory test.
+
 2022-03-20  Zan Dobersek  <[email protected]>
 
         [WPE][GStreamer] media playback broken

Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp (291543 => 291544)


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp	2022-03-20 13:37:16 UTC (rev 291543)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp	2022-03-20 14:18:58 UTC (rev 291544)
@@ -367,7 +367,7 @@
     static std::unique_ptr<webrtc::VideoDecoder> Create()
     {
         auto factory = GstDecoderFactory("video/x-vp8");
-        if (!factory) {
+        if (factory) {
             const auto* factoryName = GST_OBJECT_NAME(GST_OBJECT(factory.get()));
             if (!g_strcmp0(factoryName, "vp8dec") || !g_strcmp0(factoryName, "vp8alphadecodebin")) {
                 GST_INFO("Our best GStreamer VP8 decoder is vp8dec, better use the one from LibWebRTC");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to