Language support for MP4

This commit is contained in:
Thulinma 2016-07-18 10:38:26 +02:00
parent 3844dac4fd
commit 0a2a749566
3 changed files with 33 additions and 8 deletions

View file

@ -70,6 +70,7 @@ namespace Mist {
unsigned int mdiaOffset = 0;
{
MP4::MDHD mdhdBox(thisTrack.lastms - thisTrack.firstms);
mdhdBox.setLanguage(thisTrack.lang);
mdiaBox.setContent(mdhdBox, mdiaOffset++);
}//MDHD box
{