summaryrefslogtreecommitdiffstats
path: root/discover.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover.c')
-rw-r--r--discover.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/discover.c b/discover.c
index e6e8243..eea6986 100644
--- a/discover.c
+++ b/discover.c
@@ -586,6 +586,10 @@ bool pa_discover_preroute_sink_input(struct userdata *u, pa_sink_input_new_data
pa_assert_se (nodeset = u->nodeset);
pa_assert_se (pl = data->proplist);
+ /* is this a valid sink input ? */
+ if (!data->client)
+ return true;
+
/* is there an existing matching node ? */
node = agl_node_get_from_data (u, agl_input, data);