mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
srt: Use macro instead of duplicating a default value
This commit is contained in:
parent
e5b6622546
commit
b06f7824e1
1 changed files with 1 additions and 1 deletions
|
@ -984,7 +984,7 @@ gst_srt_object_open_full (GstSRTObject * srtobject,
|
||||||
addr_str = gst_uri_get_host (srtobject->uri);
|
addr_str = gst_uri_get_host (srtobject->uri);
|
||||||
|
|
||||||
if (addr_str == NULL) {
|
if (addr_str == NULL) {
|
||||||
addr_str = "0.0.0.0";
|
addr_str = GST_SRT_DEFAULT_LOCALADDRESS;
|
||||||
GST_DEBUG_OBJECT (srtobject->element,
|
GST_DEBUG_OBJECT (srtobject->element,
|
||||||
"Given uri doesn't have hostname or address. Use any (%s) and"
|
"Given uri doesn't have hostname or address. Use any (%s) and"
|
||||||
" setting listener mode", addr_str);
|
" setting listener mode", addr_str);
|
||||||
|
|
Loading…
Reference in a new issue