Add a way to differentiate hvc1 and hev1

This commit is contained in:
Damiano Galassi committed 2017-08-03 14:17:19 +02:00
1 parent 4f9ec9a138
commit 14a8f8b958
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ static NSString *getColorProfileName(uint16_t colorPrimaries,
}
if (track.format == kMP42VideoCodecType_H264 || track.format == kMP42VideoCodecType_MPEG4Video ||
track.format == kMP42VideoCodecType_HEVC || track.format == kMP42VideoCodecType_HEVC_2) {
track.format == kMP42VideoCodecType_HEVC || track.format == kMP42VideoCodecType_HEVC_PSinBitstream) {
NSString *colorProfile = getColorProfileName(track.colorPrimaries, track.transferCharacteristics, track.matrixCoefficients);
[self.colorProfilePopUp selectItemWithTitle:colorProfile];
+1 -1
View File
@@ -332,7 +332,7 @@
for (MP42VideoTrack *track in [item.mp4File tracksWithMediaType:kMP42MediaType_Video]) {
if (track.format == kMP42VideoCodecType_H264 ||
track.format == kMP42VideoCodecType_HEVC ||
track.format == kMP42VideoCodecType_HEVC_2 ||
track.format == kMP42VideoCodecType_HEVC_PSinBitstream ||
track.format == kMP42VideoCodecType_MPEG4Video) {
track.colorPrimaries = self.colorPrimaries;
track.transferCharacteristics = self.transferCharacteristics;