Add hevc support.
This commit is contained in:
1 parent
6d7c418b09
commit
b54c8b747b
5 files changed
+139
-12
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user