diff --git a/spa/plugins/audioconvert/resample.c b/spa/plugins/audioconvert/resample.c index 56e185e95..d667c591a 100644 --- a/spa/plugins/audioconvert/resample.c +++ b/spa/plugins/audioconvert/resample.c @@ -275,7 +275,8 @@ static void reset_node(struct impl *this) outport = GET_OUT_PORT(this, 0); inport = GET_IN_PORT(this, 0); - resample_reset(&this->resample); + if (this->resample.reset) + resample_reset(&this->resample); outport->offset = 0; inport->offset = 0; }