# HG changeset patch # User cehoyos # Date 1277938904 0 # Node ID f5cb0b79f58cad0f08aef200621202bfeb64d9dd # Parent ac9ea0fde99044f4a9c4812611c8f3b0e7e58e12 Make "invalid dts/pts combination" a debug instead of a warning message. Patch by XBMC diff -r ac9ea0fde990 -r f5cb0b79f58c utils.c --- 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; }