141 gobject_class->set_property = gst_net_client_clock_set_property; |
141 gobject_class->set_property = gst_net_client_clock_set_property; |
142 |
142 |
143 g_object_class_install_property (gobject_class, PROP_ADDRESS, |
143 g_object_class_install_property (gobject_class, PROP_ADDRESS, |
144 g_param_spec_string ("address", "address", |
144 g_param_spec_string ("address", "address", |
145 "The address of the machine providing a time server, " |
145 "The address of the machine providing a time server, " |
146 "as a dotted quad (x.x.x.x)", DEFAULT_ADDRESS, |
146 "as a dotted quad (x.x.x.x)", DEFAULT_ADDRESS, G_PARAM_READWRITE)); |
147 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); |
|
148 g_object_class_install_property (gobject_class, PROP_PORT, |
147 g_object_class_install_property (gobject_class, PROP_PORT, |
149 g_param_spec_int ("port", "port", |
148 g_param_spec_int ("port", "port", |
150 "The port on which the remote server is listening", 0, G_MAXUINT16, |
149 "The port on which the remote server is listening", 0, G_MAXUINT16, |
151 DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); |
150 DEFAULT_PORT, G_PARAM_READWRITE)); |
152 } |
151 } |
153 |
152 |
154 static void |
153 static void |
155 gst_net_client_clock_init (GstNetClientClock * self, |
154 gst_net_client_clock_init (GstNetClientClock * self, |
156 GstNetClientClockClass * g_class) |
155 GstNetClientClockClass * g_class) |