Revision 7820147e
libavformat/utils.c | ||
---|---|---|
2917 | 2917 |
|
2918 | 2918 |
if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts >= pkt->dts){ |
2919 | 2919 |
av_log(s, AV_LOG_ERROR, |
2920 |
"st:%d error, non monotone timestamps %"PRId64" >= %"PRId64"\n",
|
|
2920 |
"Non monotone timestamps in stream number %d: st->cur_dts:%"PRId64" >= pkt->dts:%"PRId64"\n",
|
|
2921 | 2921 |
st->index, st->cur_dts, pkt->dts); |
2922 | 2922 |
return -1; |
2923 | 2923 |
} |
2924 | 2924 |
if(pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts < pkt->dts){ |
2925 |
av_log(s, AV_LOG_ERROR, "st:%d error, pts < dts\n", st->index); |
|
2925 |
av_log(s, AV_LOG_ERROR, |
|
2926 |
"pts < dts in stream number %d\n: pkt->pts:%"PRId64" < pkt->dts:%"PRId64"\n", |
|
2927 |
st->index, pkt->pts, pkt->dts); |
|
2926 | 2928 |
return -1; |
2927 | 2929 |
} |
2928 | 2930 |
|
Also available in: Unified diff