encoder/Interface: convert PreparedEncoder to abstract class

This commit is contained in:
Max Kellermann
2016-05-04 18:29:31 +02:00
parent e7edc02647
commit b376536a3b
15 changed files with 110 additions and 301 deletions

View File

@@ -76,8 +76,7 @@ class RecorderOutput {
:base(recorder_output_plugin) {}
~RecorderOutput() {
if (prepared_encoder != nullptr)
prepared_encoder->Dispose();
delete prepared_encoder;
}
bool Initialize(const ConfigBlock &block, Error &error_r) {