fixing converting to mp3

This commit is contained in:
John Andrews
2024-03-22 16:54:51 +13:00
parent aacfb0eb79
commit f54cba1157
2 changed files with 4 additions and 3 deletions

View File

@@ -363,8 +363,6 @@ public class FfmpegBuilderAudioAddTrack : FfmpegBuilderNode
bool opus = codec == "opus";
if (opus)
codec = "libopus";
if (codec.ToLowerInvariant() == "mp3")
codec = "libmp3lame";
bool eac3 = codec.ToLowerInvariant() == "eac3";
bool dts = codec.ToLowerInvariant().Contains("dts");