diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-08 06:13:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-08 06:13:44 +0100 |
commit | fe380adbfba67c6f32f4b1927ab19a3c3fce48c7 (patch) | |
tree | b0f83e9fb44fb9c2e80d2fcdb880180c6f7062be /ffmpeg.c | |
parent | 18d0a16fc9d189b1d5593f9a42bb2316e9a66ca9 (diff) | |
download | ffmpeg-fe380adbfba67c6f32f4b1927ab19a3c3fce48c7.tar.gz |
ffmpeg: add (next_dts/dts) variables.
Strongly based on Anton Khirnovs code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -204,6 +204,12 @@ typedef struct InputStream { AVFrame *filtered_frame; int64_t start; /* time when read started */ + /* predicted dts of the next packet read for this stream or (when there are + * several frames in a packet) of the next frame in current packet */ + int64_t next_dts; + /* dts of the last packet read for this stream */ + int64_t dts; + int64_t next_pts; /* synthetic pts for cases where pkt.pts is not defined */ int64_t pts; /* current pts */ |