diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-29 04:03:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-29 04:51:47 +0100 |
commit | fc09bf57a60d4c4a6d339b204b3282337067c06d (patch) | |
tree | ef4e1cd353c5139689a181e4ba9fdef5c5816f5a /libavformat/movenc.h | |
parent | 4dcd1a3145dd93602b86a44ebc07d98ca2a30ab6 (diff) | |
download | ffmpeg-fc09bf57a60d4c4a6d339b204b3282337067c06d.tar.gz |
movenc: Write file with minimal number of chunks for the given interleaving.
Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 1aa23fa1a9..b022f48b87 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -43,6 +43,8 @@ typedef struct MOVIentry { unsigned int size; uint64_t pos; unsigned int samplesInChunk; + unsigned int chunkNum; ///< Chunk number if the current entry is a chunk start otherwise 0 + uint64_t chunkSize; unsigned int entries; int cts; int64_t dts; @@ -73,6 +75,7 @@ typedef struct MOVIndex { int64_t trackDuration; long sampleCount; long sampleSize; + long chunkCount; int hasKeyframes; #define MOV_TRACK_CTTS 0x0001 #define MOV_TRACK_STPS 0x0002 |