mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
srt: Add "const" keyword to a function argument
Given "passphrase" shouldn't be modified https://bugzilla.gnome.org/show_bug.cgi?id=796842
This commit is contained in:
parent
82467a49b9
commit
728b116fdb
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ SRTSOCKET
|
|||
gst_srt_client_connect (GstElement * elem, int sender,
|
||||
const gchar * host, guint16 port, int rendez_vous,
|
||||
const gchar * bind_address, guint16 bind_port, int latency,
|
||||
GSocketAddress ** socket_address, gint * poll_id, gchar * passphrase,
|
||||
GSocketAddress ** socket_address, gint * poll_id, const gchar * passphrase,
|
||||
int key_length)
|
||||
{
|
||||
SRTSOCKET sock = SRT_INVALID_SOCK;
|
||||
|
|
|
@ -41,7 +41,7 @@ gst_srt_client_connect (GstElement * elem, int sender,
|
|||
const gchar * host, guint16 port, int rendez_vous,
|
||||
const gchar * bind_address, guint16 bind_port, int latency,
|
||||
GSocketAddress ** socket_address, gint * poll_id,
|
||||
gchar * passphrase, int key_length);
|
||||
const gchar * passphrase, int key_length);
|
||||
|
||||
SRTSOCKET
|
||||
gst_srt_server_listen (GstElement * elem, int sender,
|
||||
|
|
Loading…
Reference in a new issue