From 569aff43f9e80f95eb6ce6e7de190b9664775b00 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 30 Oct 2017 09:12:06 +0530 Subject: [PATCH] sendrecv: Rename function for greater clarity --- webrtc/sendrecv/gst/webrtc-sendrecv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/sendrecv/gst/webrtc-sendrecv.c b/webrtc/sendrecv/gst/webrtc-sendrecv.c index 8c25f97cfb..3ee0e44789 100644 --- a/webrtc/sendrecv/gst/webrtc-sendrecv.c +++ b/webrtc/sendrecv/gst/webrtc-sendrecv.c @@ -216,7 +216,7 @@ send_sdp_offer (GstWebRTCSessionDescription * offer) /* Offer created by our pipeline, to be sent to the peer */ static void -on_offer_received (GstPromise * promise, gpointer user_data) +on_offer_created (GstPromise * promise, gpointer user_data) { GstWebRTCSessionDescription *offer = NULL; gchar *desc; @@ -245,7 +245,7 @@ on_negotiation_needed (GstElement * element, gpointer user_data) app_state = PEER_CALL_NEGOTIATING; g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise); - gst_promise_set_change_callback (promise, on_offer_received, user_data, + gst_promise_set_change_callback (promise, on_offer_created, user_data, NULL); }