From b157d417af78059309d6e1b2bd9c3a83bbdee985 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 4fabde0b8..e90f446d7 100644 --- a/src/modules/module-raop-sink.c +++ b/src/modules/module-raop-sink.c @@ -1556,8 +1556,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)