aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-04-24 08:34:44 +0200
committerAnton Khirnov <anton@khirnov.net>2014-06-12 09:31:11 +0200
commitba8ab4e7ae016cf970b0f335a7933f2db53784bc (patch)
treed496416988537c22c6d29a22440ade2da6569c85 /avconv.h
parente0fcad77618a0455ca9c2451ea0aa538597a08c0 (diff)
downloadffmpeg-ba8ab4e7ae016cf970b0f335a7933f2db53784bc.tar.gz
avconv: do not send non-monotonous DTS to the muxers.
Hack partially based on a commit by Michael Niedermayer <michaelni@gmx.at> Should fix (or work around) bug 458. (cherry picked from commit 76d23f40314fc1dcd74a3d470b17782cc0ee5a3a) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index defdf59c4a..0bf7998ca2 100644
--- a/avconv.h
+++ b/avconv.h
@@ -267,6 +267,8 @@ typedef struct OutputStream {
/* pts of the first frame encoded for this stream, used for limiting
* recording time */
int64_t first_pts;
+ /* dts of the last packet sent to the muxer */
+ int64_t last_mux_dts;
AVBitStreamFilterContext *bitstream_filters;
AVCodec *enc;
int64_t max_frames;