Improved blacklisting/whitelisting code + MP3 in MP4 output blacklist for Trident browsers under Windows 7 and lower

This commit is contained in:
Thulinma 2019-06-25 14:29:55 +02:00
parent 5154f88de3
commit 4fcae749da
2 changed files with 13 additions and 2 deletions

View file

@ -26,6 +26,7 @@ namespace Mist {
capa["methods"][0u]["type"] = "html5/video/mp4";
capa["methods"][0u]["priority"] = 10;
capa["methods"][0u]["nolive"] = 1;
capa["exceptions"]["codec:MP3"] = JSON::fromString("[[\"blacklist\",[\"Windows NT 5\", \"Windows NT 6.0\", \"Windows NT 6.1\"]],[\"whitelist_except\",[\"Trident\"]]]");
}
uint64_t OutProgressiveMP4::estimateFileSize() {
uint64_t retVal = 0;