From 565f560722e64eb50a4ec433e50e7e221c3df6c0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 30 Jan 2024 15:04:01 +0100 Subject: [PATCH] module-raop: don't start record in state change We first need to do the setup, which we start when setting the Format param. This causes the module to unload when starting pavucontrol because it tries to start the record in the wrong state. See #3778 --- src/modules/module-raop-sink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/module-raop-sink.c b/src/modules/module-raop-sink.c index ccc727eea..b1a28b91f 100644 --- a/src/modules/module-raop-sink.c +++ b/src/modules/module-raop-sink.c @@ -1521,8 +1521,6 @@ static void stream_state_changed(void *data, bool started, const char *error) pw_impl_module_schedule_destroy(impl->module); return; } - if (started) - rtsp_do_record(impl); } static int rtsp_do_connect(struct impl *impl)