[FFmpeg-cvslog] r17482 - trunk/libavformat/utils.c

michael subversion
Sat Feb 21 18:29:26 CET 2009


Author: michael
Date: Sat Feb 21 18:29:25 2009
New Revision: 17482

Log:
Be less noisy with invalid pts/dts.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Sat Feb 21 18:17:09 2009	(r17481)
+++ trunk/libavformat/utils.c	Sat Feb 21 18:29:25 2009	(r17482)
@@ -810,7 +810,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_ERROR, "invalid dts/pts combination\n");
+        av_log(s, AV_LOG_WARNING, "invalid dts/pts combination\n");
         pkt->dts= pkt->pts= AV_NOPTS_VALUE;
     }
 




More information about the ffmpeg-cvslog mailing list