diff options
Diffstat (limited to 'src/filter')
-rw-r--r-- | src/filter/plugins/AutoConvertFilterPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filter/plugins/AutoConvertFilterPlugin.cxx b/src/filter/plugins/AutoConvertFilterPlugin.cxx index f661c1093..7da31a00b 100644 --- a/src/filter/plugins/AutoConvertFilterPlugin.cxx +++ b/src/filter/plugins/AutoConvertFilterPlugin.cxx @@ -45,7 +45,8 @@ class AutoConvertFilter final : public Filter { public: AutoConvertFilter(std::unique_ptr<Filter> &&_filter, std::unique_ptr<Filter> &&_convert) - :filter(std::move(_filter)), convert(std::move(_convert)) {} + :Filter(_filter->GetOutAudioFormat()), + filter(std::move(_filter)), convert(std::move(_convert)) {} ConstBuffer<void> FilterPCM(ConstBuffer<void> src) override; }; |