diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2019-07-06 15:53:26 -0400 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-08-09 20:34:28 +0100 |
commit | 7fe86c1b1d7110064a4d176117bd920f28a911a2 (patch) | |
tree | 31b6c282a1c42f7ae4e2261aadd3b3e36f1d1aef /ext | |
parent | 7379529084fec3ce173e07ad4543ffcf14686b17 (diff) | |
download | gstreamer-plugins-bad-7fe86c1b1d7110064a4d176117bd920f28a911a2.tar.gz |
srt: Use macro instead of duplicating a default value
Diffstat (limited to 'ext')
-rw-r--r-- | ext/srt/gstsrtobject.c | 2 |
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); |