mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ext/nas/nassink.c: Fix build warning by using portable API.
Original commit message from CVS: * ext/nas/nassink.c: Fix build warning by using portable API.
This commit is contained in:
parent
84ac3f0c56
commit
3b2de3c591
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-02-26 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* ext/nas/nassink.c:
|
||||
Fix build warning by using portable API.
|
||||
|
||||
2008-02-26 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/selector/gstoutputselector.c:
|
||||
|
|
|
@ -287,9 +287,9 @@ gst_nas_sink_set_property (GObject * object, guint prop_id,
|
|||
g_free (nassink->host);
|
||||
nassink->host = g_value_dup_string (value);
|
||||
if (nassink->host == NULL)
|
||||
nassink->host = g_strdup (getenv ("AUDIOSERVER"));
|
||||
nassink->host = g_strdup (g_getenv ("AUDIOSERVER"));
|
||||
if (nassink->host == NULL)
|
||||
nassink->host = g_strdup (getenv ("DISPLAY"));
|
||||
nassink->host = g_strdup (g_getenv ("DISPLAY"));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue