Title: [292530] trunk/Source/WebCore
Revision
292530
Author
carlo...@webkit.org
Date
2022-04-07 04:41:33 -0700 (Thu, 07 Apr 2022)

Log Message

Unreviewed. [GStreamer] Fix compile warning

* Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp:
(WebCore::gstreamerRtpCapatiblities): Initialize RTCRtpCodecCapability::channels.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (292529 => 292530)


--- trunk/Source/WebCore/ChangeLog	2022-04-07 10:57:53 UTC (rev 292529)
+++ trunk/Source/WebCore/ChangeLog	2022-04-07 11:41:33 UTC (rev 292530)
@@ -1,3 +1,10 @@
+2022-04-07  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        Unreviewed. [GStreamer] Fix compile warning
+
+        * Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp:
+        (WebCore::gstreamerRtpCapatiblities): Initialize RTCRtpCodecCapability::channels.
+
 2022-04-07  Nikolas Zimmermann  <nzimmerm...@igalia.com>
 
         Unreviewed build fix after r292525.

Modified: trunk/Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp (292529 => 292530)


--- trunk/Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp	2022-04-07 10:57:53 UTC (rev 292529)
+++ trunk/Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp	2022-04-07 11:41:33 UTC (rev 292530)
@@ -83,15 +83,19 @@
         capabilities.codecs.reserveCapacity(4);
         capabilities.codecs.uncheckedAppend({ .mimeType = "video/VP8"_s,
             .clockRate = 90000,
+            .channels = std::nullopt,
             .sdpFmtpLine = emptyString() });
         capabilities.codecs.uncheckedAppend({ .mimeType = "video/VP9"_s,
             .clockRate = 90000,
+            .channels = std::nullopt,
             .sdpFmtpLine = "profile-id=0"_s });
         capabilities.codecs.uncheckedAppend({ .mimeType = "video/VP9"_s,
             .clockRate = 90000,
+            .channels = std::nullopt,
             .sdpFmtpLine = "profile-id=1"_s });
         capabilities.codecs.uncheckedAppend({ .mimeType = "video/H264"_s,
             .clockRate = 90000,
+            .channels = std::nullopt,
             .sdpFmtpLine = "packetization-mode=1;profile-level-id=42e01f"_s });
     }
     return capabilities;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to