decoder/mad: remove option "gapless", always do gapless

Why would anybody want to keep the silence inserted by the codec?
Other plugins/codecs (such as Vorbis) have this hard-coded as well.
This commit is contained in:
Max Kellermann
2019-08-12 13:05:57 +02:00
parent d640961420
commit 831bc711ca
4 changed files with 2 additions and 32 deletions

View File

@@ -55,17 +55,8 @@ MigrateCurlProxyConfig(ConfigData &config) noexcept
"proxy_password");
}
static void
MigrateMadConfig(ConfigData &config) noexcept
{
MigrateParamToBlockParam(config, ConfigOption::GAPLESS_MP3_PLAYBACK,
ConfigBlockOption::DECODER, "plugin", "mad",
"gapless");
}
void
Migrate(ConfigData &config) noexcept
{
MigrateCurlProxyConfig(config);
MigrateMadConfig(config);
}