Mercurial > libavformat.hg
diff utils.c @ 6201:f5cb0b79f58c libavformat
Make "invalid dts/pts combination" a debug instead of a warning message.
Patch by XBMC
author | cehoyos |
---|---|
date | Wed, 30 Jun 2010 23:01:44 +0000 |
parents | fa244b4fe683 |
children | 78ee17447ff3 |
line wrap: on
line diff
--- a/utils.c Wed Jun 30 22:39:13 2010 +0000 +++ b/utils.c Wed Jun 30 23:01:44 2010 +0000 @@ -908,7 +908,7 @@ // we take the conservative approach and discard both // Note, if this is misbehaving for a H.264 file then possibly presentation_delayed is not set correctly. if(delay==1 && pkt->dts == pkt->pts && pkt->dts != AV_NOPTS_VALUE && presentation_delayed){ - av_log(s, AV_LOG_WARNING, "invalid dts/pts combination\n"); + av_log(s, AV_LOG_DEBUG, "invalid dts/pts combination\n"); pkt->dts= pkt->pts= AV_NOPTS_VALUE; }