summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2019-07-06 15:53:26 -0400
committerTim-Philipp Müller <tim@centricular.com>2019-08-09 20:34:28 +0100
commit7fe86c1b1d7110064a4d176117bd920f28a911a2 (patch)
tree31b6c282a1c42f7ae4e2261aadd3b3e36f1d1aef /ext
parent7379529084fec3ce173e07ad4543ffcf14686b17 (diff)
downloadgstreamer-plugins-bad-7fe86c1b1d7110064a4d176117bd920f28a911a2.tar.gz
srt: Use macro instead of duplicating a default value
Diffstat (limited to 'ext')
-rw-r--r--ext/srt/gstsrtobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/srt/gstsrtobject.c b/ext/srt/gstsrtobject.c
index f497a79eb..98e2851da 100644
--- a/ext/srt/gstsrtobject.c
+++ b/ext/srt/gstsrtobject.c
@@ -984,7 +984,7 @@ gst_srt_object_open_full (GstSRTObject * srtobject,
addr_str = gst_uri_get_host (srtobject->uri);
if (addr_str == NULL) {
- addr_str = "0.0.0.0";
+ addr_str = GST_SRT_DEFAULT_LOCALADDRESS;
GST_DEBUG_OBJECT (srtobject->element,
"Given uri doesn't have hostname or address. Use any (%s) and"
" setting listener mode", addr_str);