diff options
author | Max Kellermann <max@musicpd.org> | 2018-02-11 13:22:43 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-02-11 13:22:43 +0100 |
commit | 65bbb0e0aa0f613a9da683900838d2912f2454ba (patch) | |
tree | 3527ff6fdec933826a9278a611166d4b69f14827 /src/filter | |
parent | 5147654f6c6e452132be6bd4b8d525d1c1856878 (diff) | |
parent | c2940a8385201b6501a43aefa6f9bee983950c01 (diff) |
Merge tag 'v0.20.17'
release v0.20.17
Diffstat (limited to 'src/filter')
-rw-r--r-- | src/filter/plugins/ConvertFilterPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filter/plugins/ConvertFilterPlugin.cxx b/src/filter/plugins/ConvertFilterPlugin.cxx index 77c82eea9..eaa5fc4a3 100644 --- a/src/filter/plugins/ConvertFilterPlugin.cxx +++ b/src/filter/plugins/ConvertFilterPlugin.cxx @@ -51,7 +51,8 @@ public: void Set(const AudioFormat &_out_audio_format); void Reset() noexcept override { - state.Reset(); + if (IsActive()) + state.Reset(); } ConstBuffer<void> FilterPCM(ConstBuffer<void> src) override; |