projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f9877
)
allow-passthrough: fix hook return value
author
Tanu Kaskinen
<tanuk@iki.fi>
Sat, 5 May 2018 14:22:46 +0000
(17:22 +0300)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Mon, 7 May 2018 13:53:57 +0000
(16:53 +0300)
-PA_ERR_NOENTITY is not a valid pa_hook_result_t value.
src/modules/module-allow-passthrough.c
patch
|
blob
|
history
diff --git
a/src/modules/module-allow-passthrough.c
b/src/modules/module-allow-passthrough.c
index
f7c6155
..
7fbef09
100644
(file)
--- a/
src/modules/module-allow-passthrough.c
+++ b/
src/modules/module-allow-passthrough.c
@@
-177,7
+177,7
@@
static pa_hook_result_t sink_input_new_cb(pa_core *core, pa_sink_input_new_data
* format). */
if (!new_data->sink) {
pa_sink *sink = pa_namereg_get(core, NULL, PA_NAMEREG_SINK);
- pa_return_val_if_fail(sink,
-PA_ERR_NOENTITY
);
+ pa_return_val_if_fail(sink,
PA_HOOK_OK
);
pa_sink_input_new_data_set_sink(new_data, sink, false, false);
}