From 76d23f40314fc1dcd74a3d470b17782cc0ee5a3a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 24 Apr 2013 08:34:44 +0200 Subject: avconv: do not send non-monotonous DTS to the muxers. Hack partially based on a commit by Michael Niedermayer Should fix (or work around) bug 458. --- avconv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'avconv.h') diff --git a/avconv.h b/avconv.h index 782e0c0..1244d86 100644 --- a/avconv.h +++ b/avconv.h @@ -266,6 +266,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; -- cgit v1.1