diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2013-10-18 08:58:05 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-10-18 09:59:25 +0100 |
commit | 3c8424d9ae14204d40bdd50b78d275b844fc39d8 (patch) | |
tree | 9dfddb9eb8fad45c6457d9b68b26981a8adcac8f | |
parent | 2231721dddb9ba7db3d7566f64a6fa58fdd1ff9d (diff) |
net: Constify a parameter to gst_net_client_clock_new()
Even though this parameter is not used, it should be const to fit in with the
coding standards for other similar parameters. Client code already passes in
const strings under the expectation that they won’t be modified.
https://bugzilla.gnome.org/show_bug.cgi?id=710442
-rw-r--r-- | libs/gst/net/gstnetclientclock.c | 2 | ||||
-rw-r--r-- | libs/gst/net/gstnetclientclock.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/gst/net/gstnetclientclock.c b/libs/gst/net/gstnetclientclock.c index 7d9843f94..85fdaa5d9 100644 --- a/libs/gst/net/gstnetclientclock.c +++ b/libs/gst/net/gstnetclientclock.c @@ -487,7 +487,7 @@ gst_net_client_clock_stop (GstNetClientClock * self) * clock. */ GstClock * -gst_net_client_clock_new (gchar * name, const gchar * remote_address, +gst_net_client_clock_new (const gchar * name, const gchar * remote_address, gint remote_port, GstClockTime base_time) { /* FIXME: gst_net_client_clock_new() should be a thin wrapper for g_object_new() */ diff --git a/libs/gst/net/gstnetclientclock.h b/libs/gst/net/gstnetclientclock.h index 8e5980755..b7243f110 100644 --- a/libs/gst/net/gstnetclientclock.h +++ b/libs/gst/net/gstnetclientclock.h @@ -70,7 +70,7 @@ struct _GstNetClientClockClass { GType gst_net_client_clock_get_type (void); -GstClock* gst_net_client_clock_new (gchar *name, const gchar *remote_address, +GstClock* gst_net_client_clock_new (const gchar *name, const gchar *remote_address, gint remote_port, GstClockTime base_time); G_END_DECLS |