Detect H.265 format in Matroska

This commit is contained in:
Martchus 2017-05-08 23:23:57 +02:00
parent 7747438d94
commit 6ff8a587ba
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ MediaFormat MatroskaTrack::codecIdToMediaFormat(const string &codecId)
} else if(part2 == "L3") {
fmt.sub = SubFormats::Mpeg1Layer3;
}
} else if(part1 == "V_MPEGH" && part2 == "ISO" && part3 == "HEVC") {
fmt.general = GeneralMediaFormat::Hevc;
} else if(part1 == "A_PCM") {
fmt.general = GeneralMediaFormat::Pcm;
if(part2 == "INT") {