mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Reset encoding mode to default for codecs with dynamic modes list,
when settings become incompatible with the chosen mode. E.g. for flac if -11 was selected and nonsubset modes are disabled, -7 is chosen instead.
This commit is contained in:
@@ -34,12 +34,13 @@ namespace CUETools.Codecs.FLACCL
|
||||
public class FLACCLWriterSettings : AudioEncoderSettings
|
||||
{
|
||||
public FLACCLWriterSettings()
|
||||
: base("", "8")
|
||||
: base()
|
||||
{
|
||||
}
|
||||
|
||||
public override string GetSupportedModes()
|
||||
public override string GetSupportedModes(out string defaultMode)
|
||||
{
|
||||
defaultMode = "8";
|
||||
return this.AllowNonSubset ? "0 1 2 3 4 5 6 7 8 9 10 11" : "0 1 2 3 4 5 6 7 8";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user