Code Review
/
staging
/
agl-audio-plugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix invalid sink input treatment after module-loopback
[staging/agl-audio-plugin.git]
/
discover.c
diff --git
a/discover.c
b/discover.c
index
e6e8243
..
eea6986
100644
(file)
--- 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);