From d0e2b31470be2a3d203a5fdb71dc5f4b69f26a67 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sun, 23 Oct 2022 14:56:32 -0500 Subject: [PATCH] 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: --- subprojects/gst-examples/webrtc/sendonly/webrtc-recvonly-h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);