From 87f5ede6b52e7d49c823bc070335821b489903e0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 19 May 2014 15:28:19 +0200 Subject: 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 --- ffmpeg.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ffmpeg.h') diff --git a/ffmpeg.h b/ffmpeg.h index 41d6663..01b983d 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; -- cgit v1.1