summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-19 15:28:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-19 15:35:20 +0200
commit87f5ede6b52e7d49c823bc070335821b489903e0 (patch)
tree1414523b56bef672761cb43a92f6bcf31ad66aa0 /ffmpeg.h
parent2de2b991cac603cc6ad1ff94c706c64a2232f69b (diff)
ffmpeg: add last_mux_dts_plus_duration
Fixes 1 frame error in the duration and derived values, introduced by not using AVStream.pts in the previous commit Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 41d666340d..01b983d9bf 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -378,6 +378,7 @@ typedef struct OutputStream {
int64_t first_pts;
/* dts of the last packet sent to the muxer */
int64_t last_mux_dts;
+ int64_t last_mux_dts_plus_duration;
AVBitStreamFilterContext *bitstream_filters;
AVCodec *enc;
int64_t max_frames;