diff options
Diffstat (limited to 'src/modules/module-equalizer-sink.c')
-rw-r--r-- | src/modules/module-equalizer-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-equalizer-sink.c b/src/modules/module-equalizer-sink.c index 9c25f3f5..eb461815 100644 --- a/src/modules/module-equalizer-sink.c +++ b/src/modules/module-equalizer-sink.c @@ -860,7 +860,7 @@ static void sink_input_state_change_cb(pa_sink_input *i, pa_sink_input_state_t s /* If we are added for the first time, ask for a rewinding so that * we are heard right-away. */ if (PA_SINK_INPUT_IS_LINKED(state) && - i->thread_info.state == PA_SINK_INPUT_INIT) { + i->thread_info.state == PA_SINK_INPUT_INIT && i->sink) { pa_log_debug("Requesting rewind due to state change."); pa_sink_input_request_rewind(i, 0, false, true, true); } |