[FFmpeg-cvslog] r23919 - trunk/libavformat/utils.c
cehoyos
subversion
Thu Jul 1 01:01:44 CEST 2010
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)
@@ -908,7 +908,7 @@ 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;
}
More information about the ffmpeg-cvslog
mailing list