Added Chrome workaround INFO-level message in MP4 output
This commit is contained in:
parent
6bca77d758
commit
35c33b04ec
1 changed files with 1 additions and 0 deletions
|
@ -616,6 +616,7 @@ namespace Mist {
|
||||||
|
|
||||||
//Oh god why do we do this.
|
//Oh god why do we do this.
|
||||||
if (chromeWorkaround && hasAudio && fragSeqNum == 1){
|
if (chromeWorkaround && hasAudio && fragSeqNum == 1){
|
||||||
|
INFO_MSG("Activating Chrome MP4 compatibility workaround!");
|
||||||
MP4::TRAF trafBox;
|
MP4::TRAF trafBox;
|
||||||
MP4::TRUN trunBox;
|
MP4::TRUN trunBox;
|
||||||
trunBox.setFlags(MP4::trundataOffset | MP4::trunfirstSampleFlags | MP4::trunsampleSize | MP4::trunsampleDuration);
|
trunBox.setFlags(MP4::trundataOffset | MP4::trunfirstSampleFlags | MP4::trunsampleSize | MP4::trunsampleDuration);
|
||||||
|
|
Loading…
Add table
Reference in a new issue