Fixed support for MP4 files without CTTS box in a track header.

This commit is contained in:
Thulinma 2015-09-25 00:36:09 +02:00
parent 5819e9cac8
commit 5c3ff12946
4 changed files with 15 additions and 8 deletions

View file

@ -1374,6 +1374,7 @@ namespace DTSC {
}
void Meta::update(long long packTime, long long packOffset, long long packTrack, long long packDataSize, long long packBytePos, bool isKeyframe, long long packSendSize, unsigned long segment_size, const char * ivec){
DONTEVEN_MSG("Updating meta with: t=%lld, o=%lld, s=%lld, t=%lld, p=%lld", packTime, packOffset, packDataSize, packTrack, packBytePos);
if (!packSendSize){
//time and trackID are part of the 20-byte header.
//the container object adds 4 bytes (plus 2+namelen for each content, see below)