diff --git a/src/output/OutputThread.cxx b/src/output/OutputThread.cxx index cfc68a877..e98c99244 100644 --- a/src/output/OutputThread.cxx +++ b/src/output/OutputThread.cxx @@ -302,19 +302,7 @@ AudioOutput::ReopenFilter() "Failed to open filter for \"%s\" [%s]", name, plugin.name); - /* this is a little code duplication from Close(), - but we cannot call this function because we must - not call filter_close(filter) again */ - - pipe = nullptr; - - current_chunk = nullptr; - open = false; - fail_timer.Update(); - - mutex.unlock(); - ao_plugin_close(this); - mutex.lock(); + Close(false); return; }