mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
srtclient: Fix bind-port and rendez-vous property getter
https://bugzilla.gnome.org/show_bug.cgi?id=796842
This commit is contained in:
parent
85d04e9335
commit
b609184701
2 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue