mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-06 13:08:26 -06:00
fixing converting to mp3
This commit is contained in:
@@ -29,8 +29,11 @@ namespace FileFlows.AudioNodes
|
||||
extension = null;
|
||||
string codecKey = Codec + "_codec";
|
||||
string codec = args.GetToolPathActual(codecKey)?.EmptyAsNull() ?? Codec;
|
||||
if (codec == "mp3")
|
||||
if (codec.ToLowerInvariant() == "mp3")
|
||||
{
|
||||
extension = "mp3";
|
||||
codec = "mp3";
|
||||
}
|
||||
else if (codec == "libopus")
|
||||
extension = "ogg";
|
||||
else if (codec == "libvorbis" || codec == "ogg")
|
||||
|
||||
Reference in New Issue
Block a user