From 89d66b6100a061c9dc341d1727640e4d2a942c2b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 12 Mar 2023 19:36:32 +0100 Subject: [PATCH] decoder/ffmpeg: check for DST codec Closes https://github.com/MusicPlayerDaemon/MPD/issues/1756 --- src/decoder/plugins/FfmpegDecoderPlugin.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index a24594a98..a2a4a5b96 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -712,6 +712,8 @@ ffmpeg_suffixes() noexcept /* FFmpeg was compiled with DSD support */ suffixes.emplace("dff"); suffixes.emplace("dsf"); + } else if (StringIsEqual(codec->name, "dst")) { + suffixes.emplace("dst"); } }