From 315b2d1ad50eb485f407b8d995f41203d0ab5636 Mon Sep 17 00:00:00 2001 From: Ashok Sidipotu Date: Mon, 17 Oct 2022 17:28:39 +0530 Subject: [PATCH] module-pipe-tunnel: Initialize the target.node property Initialize the PW_KEY_TARGET_OBJECT property on the stream node based on the user config. --- src/modules/module-pipe-tunnel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/module-pipe-tunnel.c b/src/modules/module-pipe-tunnel.c index ff4a25968..519f32b7d 100644 --- a/src/modules/module-pipe-tunnel.c +++ b/src/modules/module-pipe-tunnel.c @@ -315,7 +315,7 @@ static const struct pw_stream_events capture_stream_events = { .process = capture_stream_process }; -static int create_stream(struct impl *impl) +static int create_stream(struct impl *impl) { int res; uint32_t n_params; @@ -664,6 +664,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args) copy_props(impl, props, PW_KEY_NODE_LATENCY); copy_props(impl, props, PW_KEY_NODE_VIRTUAL); copy_props(impl, props, PW_KEY_MEDIA_CLASS); + copy_props(impl, props, PW_KEY_TARGET_OBJECT); parse_audio_info(impl->stream_props, &impl->info);