Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2022-10-23 22:56:32 +0300
committerTim-Philipp Müller <tim@centricular.com>2022-10-26 17:42:42 +0300
commit98bc763f2b306c6d5f40cc23e7127911d363dbba (patch)
tree521c35e5ef38c67b920d40f0d60a616919d812fa
parentd1d365373fd50d19d6a4ead5262fd29cd2db9f85 (diff)
webrtc: Fix critical in webrtc-recvonly-h264 example
This signal only takes 2 properties yet a third was passed. This would cause a critical in GLib. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3269>
-rw-r--r--subprojects/gst-examples/webrtc/sendonly/webrtc-recvonly-h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/gst-examples/webrtc/sendonly/webrtc-recvonly-h264.c b/subprojects/gst-examples/webrtc/sendonly/webrtc-recvonly-h264.c
index 8df62f4fed..c5ff6c91f6 100644
--- a/subprojects/gst-examples/webrtc/sendonly/webrtc-recvonly-h264.c
+++ b/subprojects/gst-examples/webrtc/sendonly/webrtc-recvonly-h264.c
@@ -354,7 +354,7 @@ create_receiver_entry (SoupWebsocketConnection * connection)
RTP_PAYLOAD_TYPE
",clock-rate=90000,packetization-mode=(string)1, profile-level-id=(string)42c016");
g_signal_emit_by_name (receiver_entry->webrtcbin, "add-transceiver",
- GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY, video_caps, NULL, &trans);
+ GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY, video_caps, &trans);
gst_caps_unref (video_caps);
gst_object_unref (trans);