tcp: Add FIXME comment for 2.0 to rename "host" to "bind-address" for the server elements

This commit is contained in:
Sebastian Dröge 2013-04-25 09:05:55 +02:00
parent b9933dd6a3
commit e06cc5295a
2 changed files with 4 additions and 0 deletions

View file

@ -87,6 +87,8 @@ gst_tcp_server_sink_class_init (GstTCPServerSinkClass * klass)
gobject_class->get_property = gst_tcp_server_sink_get_property;
gobject_class->finalize = gst_tcp_server_sink_finalize;
/* FIXME 2.0: Rename this to bind-address, host does not make much
* sense here */
g_object_class_install_property (gobject_class, PROP_HOST,
g_param_spec_string ("host", "host", "The host/IP to listen on",
TCP_DEFAULT_HOST, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));

View file

@ -98,6 +98,8 @@ gst_tcp_server_src_class_init (GstTCPServerSrcClass * klass)
gobject_class->get_property = gst_tcp_server_src_get_property;
gobject_class->finalize = gst_tcp_server_src_finalize;
/* FIXME 2.0: Rename this to bind-address, host does not make much
* sense here */
g_object_class_install_property (gobject_class, PROP_HOST,
g_param_spec_string ("host", "Host", "The hostname to listen as",
TCP_DEFAULT_LISTEN_HOST, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));