1 Jul 2010 01:01
r23919 - trunk/libavformat/utils.c
cehoyos <subversion <at> mplayerhq.hu>
2010-06-30 23:01:44 GMT
2010-06-30 23:01:44 GMT
Author: cehoyos
Date: Thu Jul 1 01:01:44 2010
New Revision: 23919
Log:
Make "invalid dts/pts combination" a debug instead of a warning message.
Patch by XBMC
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Thu Jul 1 00:39:13 2010 (r23918)
+++ trunk/libavformat/utils.c Thu Jul 1 01:01:44 2010 (r23919)
<at> <at> -908,7 +908,7 <at> <at> static void compute_pkt_fields(AVFormatC
// 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;
}
RSS Feed