Added Chrome workaround INFO-level message in MP4 output

This commit is contained in:
Thulinma 2017-04-11 16:46:19 +02:00
parent 6bca77d758
commit 35c33b04ec

View file

@ -616,6 +616,7 @@ namespace Mist {
//Oh god why do we do this.
if (chromeWorkaround && hasAudio && fragSeqNum == 1){
INFO_MSG("Activating Chrome MP4 compatibility workaround!");
MP4::TRAF trafBox;
MP4::TRUN trunBox;
trunBox.setFlags(MP4::trundataOffset | MP4::trunfirstSampleFlags | MP4::trunsampleSize | MP4::trunsampleDuration);