summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-11-23 23:23:43 +0200
committerMartin Storsjö <martin@martin.st>2014-12-18 23:14:27 +0200
commit59f0275dd0a42a7f90271a83a78e9ca5e69ff5b0 (patch)
treed44cef3e693df8726c54bdef3b29673876be87b3 /libavformat/movenc.h
parent8a70ef94b9c377293b3dfa7d92cdc81a4fe1543a (diff)
movenc: Adjust the pts of new fragments similarly to what is done for dts
The pts and the corresponding duration is written in sidx atoms, thus make sure these match up correctly. 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 c13a834c7d..97c05831f2 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -104,6 +104,7 @@ typedef struct MOVTrack {
uint32_t tref_tag;
int tref_id; ///< trackID of the referenced track
int64_t start_dts;
+ int64_t start_cts;
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