diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-24 08:34:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-06-12 09:31:11 +0200 |
commit | ba8ab4e7ae016cf970b0f335a7933f2db53784bc (patch) | |
tree | d496416988537c22c6d29a22440ade2da6569c85 /avconv_opt.c | |
parent | e0fcad77618a0455ca9c2451ea0aa538597a08c0 (diff) | |
download | ffmpeg-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_opt.c')
-rw-r--r-- | avconv_opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c index e67abefd77..d6a6f8f278 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -845,6 +845,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e av_opt_get_int(o->g->sws_opts, "sws_flags", 0, &ost->sws_flags); ost->pix_fmts[0] = ost->pix_fmts[1] = AV_PIX_FMT_NONE; + ost->last_mux_dts = AV_NOPTS_VALUE; return ost; } |