diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-19 15:28:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-19 15:35:20 +0200 |
commit | 87f5ede6b52e7d49c823bc070335821b489903e0 (patch) | |
tree | 1414523b56bef672761cb43a92f6bcf31ad66aa0 /ffmpeg_opt.c | |
parent | 2de2b991cac603cc6ad1ff94c706c64a2232f69b (diff) | |
download | ffmpeg-87f5ede6b52e7d49c823bc070335821b489903e0.tar.gz |
ffmpeg: add last_mux_dts_plus_duration
Fixes 1 frame error in the duration and derived values,
introduced by not using AVStream.pts in the previous commit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 8e3873c807..6f45785192 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1152,6 +1152,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e input_streams[source_index]->st->discard = AVDISCARD_NONE; } ost->last_mux_dts = AV_NOPTS_VALUE; + ost->last_mux_dts_plus_duration = AV_NOPTS_VALUE; return ost; } |