浏览代码

UI: Remove mf_aac references

tytan652 2 年之前
父节点
当前提交
2a2d8fc1bb
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      UI/audio-encoders.cpp

+ 0 - 5
UI/audio-encoders.cpp

@@ -139,7 +139,6 @@ static void PopulateBitrateMap()
 	call_once(once, []() {
 	call_once(once, []() {
 		const string encoders[] = {
 		const string encoders[] = {
 			"ffmpeg_aac",
 			"ffmpeg_aac",
-			"mf_aac",
 			"libfdk_aac",
 			"libfdk_aac",
 			"CoreAudio_AAC",
 			"CoreAudio_AAC",
 		};
 		};
@@ -175,10 +174,6 @@ static void PopulateBitrateMap()
 			if (strcmp(GetCodec(encoder.c_str()), "AAC") != 0)
 			if (strcmp(GetCodec(encoder.c_str()), "AAC") != 0)
 				continue;
 				continue;
 
 
-			// disable mf_aac if audio output is not stereo nor mono
-			if (output_channels >= 3 && encoder == "mf_aac")
-				continue;
-
 			HandleEncoderProperties(encoder.c_str());
 			HandleEncoderProperties(encoder.c_str());
 		}
 		}