srt: Use macro instead of duplicating a default value

This commit is contained in:
Nicolas Dufresne 2019-07-06 15:53:26 -04:00 committed by Olivier Crête
parent e5b6622546
commit b06f7824e1

View file

@ -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);