mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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
This commit is contained in:
parent
2231721ddd
commit
3c8424d9ae
2 changed files with 2 additions and 2 deletions
|
@ -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() */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue