Просмотр исходного кода

Do not use MF AAC for more than 6 channels

Thanks MS.
Vincent Lang 8 лет назад
Родитель
Сommit
1adeaa58de
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      src/player/CodecsComponent.cpp

+ 6 - 0
src/player/CodecsComponent.cpp

@@ -700,6 +700,12 @@ static CodecDriver selectBestDecoder(const StreamInfo& stream)
             score = 1;
         }
       }
+      if (codec.driver == "aac_mf")
+      {
+        // Arbitrary but documented and enforced 6 channel limit by MS.
+        if (stream.audioChannels > 6)
+          score = 1;
+      }
     }
     else
     {