Add hevc support.

This commit is contained in:
Damiano Galassi committed 2016-08-14 12:03:29 +02:00
1 parent 6d7c418b09
commit b54c8b747b
5 files changed
+139 -12

No files matched your search

+3
View File
@@ -196,6 +196,9 @@ FourCharCode getTrackMediaFormat(MP4FileHandle fileHandle, MP4TrackId Id)
if (!strcmp(dataName, "avc1")) {
return kMP42VideoCodecType_H264;
}
else if (!strcmp(dataName, "hvc1")) {
return kMP42VideoCodecType_HEVC;
}
else if (!strcmp(dataName, "hev1")) {
return kMP42VideoCodecType_HEVC_2;
}