diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2018-07-23 14:28:05 +0900 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-07-30 16:44:51 -0400 |
commit | b609184701a35467414ec6d5e99d679cd7f216ba (patch) | |
tree | 5d354a23a1554add95fdd73e2d2db5161a4dafa8 | |
parent | 85d04e9335bf749bdf5ebe393dcff3ce7fed327e (diff) |
srtclient: Fix bind-port and rendez-vous property getter
https://bugzilla.gnome.org/show_bug.cgi?id=796842
-rw-r--r-- | ext/srt/gstsrtclientsink.c | 4 | ||||
-rw-r--r-- | ext/srt/gstsrtclientsrc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/srt/gstsrtclientsink.c b/ext/srt/gstsrtclientsink.c index 471171e8a..7c077b920 100644 --- a/ext/srt/gstsrtclientsink.c +++ b/ext/srt/gstsrtclientsink.c @@ -106,13 +106,13 @@ gst_srt_client_sink_get_property (GObject * object, g_value_set_int (value, priv->poll_timeout); break; case PROP_BIND_PORT: - g_value_set_int (value, priv->rendez_vous); + g_value_set_int (value, priv->bind_port); break; case PROP_BIND_ADDRESS: g_value_set_string (value, priv->bind_address); break; case PROP_RENDEZ_VOUS: - g_value_set_boolean (value, priv->bind_port); + g_value_set_boolean (value, priv->rendez_vous); break; case PROP_STATS: g_value_take_boxed (value, gst_srt_base_sink_get_stats (priv->sockaddr, diff --git a/ext/srt/gstsrtclientsrc.c b/ext/srt/gstsrtclientsrc.c index e1e627ff0..7e2d79132 100644 --- a/ext/srt/gstsrtclientsrc.c +++ b/ext/srt/gstsrtclientsrc.c @@ -103,13 +103,13 @@ gst_srt_client_src_get_property (GObject * object, g_value_set_int (value, priv->poll_timeout); break; case PROP_BIND_PORT: - g_value_set_int (value, priv->rendez_vous); + g_value_set_int (value, priv->bind_port); break; case PROP_BIND_ADDRESS: g_value_set_string (value, priv->bind_address); break; case PROP_RENDEZ_VOUS: - g_value_set_boolean (value, priv->bind_port); + g_value_set_boolean (value, priv->rendez_vous); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); |