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

stefano subversion
Tue Jan 11 13:17:27 CET 2011


Author: stefano
Date: Tue Jan 11 13:17:27 2011
New Revision: 26308

Log:
Clarify timestamps related error messages in compute_pkt_fields2().

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Tue Jan 11 03:25:12 2011	(r26307)
+++ trunk/libavformat/utils.c	Tue Jan 11 13:17:27 2011	(r26308)
@@ -2917,12 +2917,12 @@ static int compute_pkt_fields2(AVFormatC
 
     if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts >= pkt->dts){
         av_log(s, AV_LOG_ERROR,
-               "st:%d error, non monotone timestamps %"PRId64" >= %"PRId64"\n",
+               "Application provided invalid, non monotonically increasing dts to muxer in stream %d: %"PRId64" >= %"PRId64"\n",
                st->index, st->cur_dts, pkt->dts);
         return -1;
     }
     if(pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts < pkt->dts){
-        av_log(s, AV_LOG_ERROR, "st:%d error, pts < dts\n", st->index);
+        av_log(s, AV_LOG_ERROR, "pts < dts in stream %d\n", st->index);
         return -1;
     }
 



More information about the ffmpeg-cvslog mailing list