aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-07 01:32:53 +0200
committerMartin Storsjö <martin@martin.st>2012-01-25 12:15:40 +0200
commit6ca3856894c8838096595f7e147df8f73169dfe2 (patch)
treede671564d9a7bff18d5670c40fdfbe69c01cdb18 /libavformat/movenc.h
parentc3af52fa8bbd6f1c5c0c70af89b02ff5b394f21d (diff)
downloadffmpeg-6ca3856894c8838096595f7e147df8f73169dfe2.tar.gz
movenc: Add a separate start_pts
This fixes calculation of trackDuration if the MOVIentry array is cleared. This is required by the fragmentation support in the next patch. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 5595ac71a8..5b7689a27b 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -89,6 +89,7 @@ typedef struct MOVIndex {
int height; ///< active picture (w/o VBI) height for D-10/IMX
uint32_t tref_tag;
int tref_id; ///< trackID of the referenced track
+ int64_t start_dts;
int hint_track; ///< the track that hints this track, -1 if no hint track is set
int src_track; ///< the track that this hint track describes