diff --git a/src/modules/module-ffado-driver.c b/src/modules/module-ffado-driver.c index 5656f3227..833e9f76c 100644 --- a/src/modules/module-ffado-driver.c +++ b/src/modules/module-ffado-driver.c @@ -548,8 +548,8 @@ static void stream_state_changed(void *d, enum pw_filter_state old, struct impl *impl = s->impl; switch (state) { case PW_FILTER_STATE_ERROR: - pw_log_error("filter state %d error: %s", state, error); - SPA_FALLTHROUGH; + pw_log_warn("filter state %d error: %s", state, error); + break; case PW_FILTER_STATE_UNCONNECTED: pw_impl_module_schedule_destroy(impl->module); break; diff --git a/src/modules/module-jack-tunnel.c b/src/modules/module-jack-tunnel.c index 00d1d651f..3ec751d04 100644 --- a/src/modules/module-jack-tunnel.c +++ b/src/modules/module-jack-tunnel.c @@ -306,10 +306,12 @@ static void stream_state_changed(void *d, enum pw_filter_state old, struct stream *s = d; struct impl *impl = s->impl; switch (state) { - case PW_FILTER_STATE_ERROR: case PW_FILTER_STATE_UNCONNECTED: pw_impl_module_schedule_destroy(impl->module); break; + case PW_FILTER_STATE_ERROR: + pw_log_warn("stream %p: error: %s", s, error); + break; case PW_FILTER_STATE_PAUSED: s->running = false; break; diff --git a/src/modules/module-netjack2-driver.c b/src/modules/module-netjack2-driver.c index 32bb7773e..d8d1c57bb 100644 --- a/src/modules/module-netjack2-driver.c +++ b/src/modules/module-netjack2-driver.c @@ -274,6 +274,8 @@ static void stream_state_changed(void *d, enum pw_filter_state old, struct impl *impl = s->impl; switch (state) { case PW_FILTER_STATE_ERROR: + pw_log_warn("stream %s: error: %s", s, error); + break; case PW_FILTER_STATE_UNCONNECTED: pw_impl_module_schedule_destroy(impl->module); break; diff --git a/src/modules/module-netjack2-manager.c b/src/modules/module-netjack2-manager.c index 5be712e80..2f06a4df2 100644 --- a/src/modules/module-netjack2-manager.c +++ b/src/modules/module-netjack2-manager.c @@ -297,6 +297,8 @@ static void stream_state_changed(void *d, enum pw_filter_state old, struct impl *impl = s->impl; switch (state) { case PW_FILTER_STATE_ERROR: + pw_log_warn("stream %s: error: %s", s, error); + break; case PW_FILTER_STATE_UNCONNECTED: pw_impl_module_schedule_destroy(impl->module); break;