HEVC in MP4 support, by Oswald de Bruin.
This commit is contained in:
parent
f562369db2
commit
a4602f5626
1 changed files with 8 additions and 0 deletions
|
@ -2945,6 +2945,14 @@ namespace MP4 {
|
||||||
avccBox.setPayload(track.init);
|
avccBox.setPayload(track.init);
|
||||||
setCLAP(avccBox);
|
setCLAP(avccBox);
|
||||||
}
|
}
|
||||||
|
/*LTS-START*/
|
||||||
|
if (track.codec == "HEVC") {
|
||||||
|
setCodec("hev1");
|
||||||
|
MP4::HVCC hvccBox;
|
||||||
|
hvccBox.setPayload(track.init);
|
||||||
|
setCLAP(hvccBox);
|
||||||
|
}
|
||||||
|
/*LTS-END*/
|
||||||
MP4::PASP paspBox;
|
MP4::PASP paspBox;
|
||||||
setPASP(paspBox);
|
setPASP(paspBox);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue