Fixed an off by one mistake in the MP4 connector.
This commit is contained in:
parent
0b3dc1f3ba
commit
13adf0bed0
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ namespace Connector_HTTP {
|
||||||
//STSS Box here
|
//STSS Box here
|
||||||
MP4::STSS stssBox;
|
MP4::STSS stssBox;
|
||||||
stssBox.setVersion(0);
|
stssBox.setVersion(0);
|
||||||
int tmpCount = 0;
|
int tmpCount = 1;
|
||||||
int tmpItCount = 0;
|
int tmpItCount = 0;
|
||||||
for ( std::deque< DTSC::Key>::iterator tmpIt = metaData.tracks[*it].keys.begin(); tmpIt != metaData.tracks[*it].keys.end(); tmpIt ++) {
|
for ( std::deque< DTSC::Key>::iterator tmpIt = metaData.tracks[*it].keys.begin(); tmpIt != metaData.tracks[*it].keys.end(); tmpIt ++) {
|
||||||
stssBox.setSampleNumber(tmpCount,tmpItCount);
|
stssBox.setSampleNumber(tmpCount,tmpItCount);
|
||||||
|
|
Loading…
Add table
Reference in a new issue