From 7fe86c1b1d7110064a4d176117bd920f28a911a2 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Sat, 6 Jul 2019 15:53:26 -0400 Subject: [PATCH] srt: Use macro instead of duplicating a default value --- ext/srt/gstsrtobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/srt/gstsrtobject.c b/ext/srt/gstsrtobject.c index f497a79..98e2851 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); -- 2.7.4