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>2013-05-03 09:59:48 +0200
commit76d23f40314fc1dcd74a3d470b17782cc0ee5a3a (patch)
treef6919efe42d5ffd19cdd323c12c5aec175c7ceaf /avconv.h
parentb4a5a292274f904f404f40f826c51e6fc9cfb8fe (diff)
downloadffmpeg-76d23f40314fc1dcd74a3d470b17782cc0ee5a3a.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.
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 782e0c0330..1244d86ec3 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;