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:
@@ -70,7 +70,7 @@ namespace CUETools.Processor
|
||||
decs.Add(type);
|
||||
}
|
||||
//if (type.IsClass && !type.IsAbstract && typeof(IAudioDest).IsAssignableFrom(type))
|
||||
if (Attribute.GetCustomAttributes(type, typeof(AudioEncoderClass)).Length > 0)
|
||||
if (Attribute.GetCustomAttributes(type, typeof(AudioEncoderClassAttribute)).Length > 0)
|
||||
{
|
||||
encs.Add(type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user