From b609184701a35467414ec6d5e99d679cd7f216ba Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 23 Jul 2018 14:28:05 +0900 Subject: [PATCH] srtclient: Fix bind-port and rendez-vous property getter https://bugzilla.gnome.org/show_bug.cgi?id=796842 --- ext/srt/gstsrtclientsink.c | 4 ++-- 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 471171e8ad..7c077b9207 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 e1e627ff07..7e2d791322 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);