From 59f0275dd0a42a7f90271a83a78e9ca5e69ff5b0 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sun, 23 Nov 2014 23:23:43 +0200 Subject: movenc: Adjust the pts of new fragments similarly to what is done for dts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pts and the corresponding duration is written in sidx atoms, thus make sure these match up correctly. Signed-off-by: Martin Storsjö --- libavformat/movenc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/movenc.h') 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 -- cgit v1.2.3