diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-03 14:53:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-03 14:55:12 +0200 |
commit | ee3824f6f6968a3917ba7ed1906d00f6e2df258e (patch) | |
tree | 38017ea264a1a203428cf93fa306c9c7322ccd4f /ffmpeg.c | |
parent | 9fe2a62cc4bc40797d1ff6954d9599989aee49a2 (diff) | |
download | ffmpeg-ee3824f6f6968a3917ba7ed1906d00f6e2df258e.tar.gz |
ffmpeg: limit non monotone workaround to audio & video streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -611,6 +611,7 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost) } if (!(s->oformat->flags & AVFMT_NOTIMESTAMPS) && + (avctx->codec_type == AVMEDIA_TYPE_AUDIO || avctx->codec_type == AVMEDIA_TYPE_VIDEO) && ost->last_mux_dts != AV_NOPTS_VALUE && pkt->dts < ost->last_mux_dts + !(s->oformat->flags & AVFMT_TS_NONSTRICT)) { av_log(NULL, AV_LOG_WARNING, "Non-monotonous DTS in output stream " |