Fixed HEVC codec display in HLS output

This commit is contained in:
Thulinma 2018-04-30 17:06:05 +02:00
parent 9d93d78b8b
commit 54e26f3ef4

View file

@ -74,7 +74,7 @@ namespace Mist {
if (hasSubs){ if (hasSubs){
result << ",SUBTITLES=\"sub1\""; result << ",SUBTITLES=\"sub1\"";
} }
if (it->second.codec == "H264" || it->second.codec == "H256"){ if (it->second.codec == "H264" || it->second.codec == "HEVC"){
result << ",CODECS=\""; result << ",CODECS=\"";
if (it->second.codec == "H264"){ if (it->second.codec == "H264"){
result << "avc1." << h264init(it->second.init); result << "avc1." << h264init(it->second.init);