summaryrefslogtreecommitdiff
path: root/avconv_opt.c
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_opt.c
parentb4a5a292274f904f404f40f826c51e6fc9cfb8fe (diff)
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_opt.c')
-rw-r--r--avconv_opt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index b15c54f4ee..6645196fd9 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -904,6 +904,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
av_dict_copy(&ost->resample_opts, o->g->resample_opts, 0);
ost->pix_fmts[0] = ost->pix_fmts[1] = AV_PIX_FMT_NONE;
+ ost->last_mux_dts = AV_NOPTS_VALUE;
return ost;
}