* dont write the "sbpg" box in video tracks
This commit is contained in:
kapodamy 2020-02-20 13:20:20 -03:00
parent 12c72842ff
commit 61632b3d9d

View file

@ -291,7 +291,9 @@ public class Mp4FromDashWriter {
sampleCount[i] = 1;// the index is not base zero sampleCount[i] = 1;// the index is not base zero
sampleExtra[i] = -1; sampleExtra[i] = -1;
} }
writeEntryArray(tablesInfo[i].sbgp, 1, sampleCount[i]); if (tablesInfo[i].sbgp > 0) {
writeEntryArray(tablesInfo[i].sbgp, 1, sampleCount[i]);
}
} }
if (auxBuffer == null) { if (auxBuffer == null) {