summaryrefslogtreecommitdiff
path: root/src/gst
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2019-01-09 17:49:45 +0100
committerWim Taymans <wtaymans@redhat.com>2019-01-09 17:49:45 +0100
commit349a11cde5b0bdbe8cc7b738d3beabbd733e5545 (patch)
tree37458862544ef3006f7ce05461e63f5238eb4c83 /src/gst
parent8fa6126599ea6a1e296ab1ec5f303c73ff5bd97c (diff)
add const to info
Diffstat (limited to 'src/gst')
-rw-r--r--src/gst/gstpipewiredeviceprovider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gst/gstpipewiredeviceprovider.c b/src/gst/gstpipewiredeviceprovider.c
index 9ba63cb5..e2e51f15 100644
--- a/src/gst/gstpipewiredeviceprovider.c
+++ b/src/gst/gstpipewiredeviceprovider.c
@@ -362,7 +362,7 @@ on_state_changed (void *data, enum pw_remote_state old, enum pw_remote_state sta
pw_thread_loop_signal (self->main_loop, FALSE);
}
-static void port_event_info(void *data, struct pw_port_info *info)
+static void port_event_info(void *data, const struct pw_port_info *info)
{
struct port_data *port_data = data;
pw_log_debug("%p", port_data);
@@ -389,7 +389,7 @@ static const struct pw_port_proxy_events port_events = {
.param = port_event_param
};
-static void node_event_info(void *data, struct pw_node_info *info)
+static void node_event_info(void *data, const struct pw_node_info *info)
{
struct node_data *node_data = data;
pw_log_debug("%p", node_data);