Merge commit 'eb4f9069002e73648f6640cd054fc814cfda75b8'
* commit 'eb4f9069002e73648f6640cd054fc814cfda75b8':
lavf: More informative error message
Conflicts:
libavformat/mux.c
See: 30ced7e69f
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
fc6aa30459
@ -496,8 +496,10 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt)
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
if (pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts < pkt->dts) {
|
||||
av_log(s, AV_LOG_ERROR, "pts (%s) < dts (%s) in stream %d\n",
|
||||
av_ts2str(pkt->pts), av_ts2str(pkt->dts), st->index);
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
"pts (%s) < dts (%s) in stream %d\n",
|
||||
av_ts2str(pkt->pts), av_ts2str(pkt->dts),
|
||||
st->index);
|
||||
return AVERROR(EINVAL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user