summaryrefslogtreecommitdiff
path: root/ext/webrtc/gstwebrtcice.c
diff options
context:
space:
mode:
authorAli Yousuf <aly.yousuf7@gmail.com>2019-05-20 16:34:55 +0500
committerMatthew Waters <matthew@centricular.com>2019-06-04 07:54:25 +0000
commit69e06ced7deb1af3e007dd92edf07d32ea4bf1b9 (patch)
treec80cae557d99dff71f4a9be448826d6992d2d949 /ext/webrtc/gstwebrtcice.c
parent95488812b229667d198ecfdcc8f4f06f9f276383 (diff)
downloadgstreamer-plugins-bad-69e06ced7deb1af3e007dd92edf07d32ea4bf1b9.tar.gz
webrtc: Fix log when adding stun server
Diffstat (limited to 'ext/webrtc/gstwebrtcice.c')
-rw-r--r--ext/webrtc/gstwebrtcice.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/webrtc/gstwebrtcice.c b/ext/webrtc/gstwebrtcice.c
index 04c559aea..45c9ead5a 100644
--- a/ext/webrtc/gstwebrtcice.c
+++ b/ext/webrtc/gstwebrtcice.c
@@ -411,9 +411,8 @@ _add_stun_server (GstWebRTCICE * ice, GstUri * stun_server)
gchar *ip = NULL;
guint port;
- GST_DEBUG_OBJECT (ice, "adding stun server, %s", s);
-
s = gst_uri_to_string (stun_server);
+ GST_DEBUG_OBJECT (ice, "adding stun server, %s", s);
host = gst_uri_get_host (stun_server);
if (!host) {