Latest MP4 commit
This commit is contained in:
parent
41219a8a42
commit
77b9418bf9
1 changed files with 3 additions and 2 deletions
|
@ -126,8 +126,9 @@ namespace Converters {
|
||||||
ase.setChannelCount(2);
|
ase.setChannelCount(2);
|
||||||
ase.setSampleSize(it->second["size"].asInt());
|
ase.setSampleSize(it->second["size"].asInt());
|
||||||
MP4::ESDS esdsBox;
|
MP4::ESDS esdsBox;
|
||||||
esdsBox.setPayload(it->second["init"].asString());
|
esdsBox.setMaximumBitRate(it->second["rate"].asInt());
|
||||||
ase.setCLAP(esdsBox);
|
esdsBox.setAverageBitRate(it->second["rate"].asInt());
|
||||||
|
ase.setCodecBox(esdsBox);
|
||||||
stsdBox.setEntry(ase,0);
|
stsdBox.setEntry(ase,0);
|
||||||
}
|
}
|
||||||
stblBox.setContent(stsdBox,0);
|
stblBox.setContent(stsdBox,0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue