[FFmpeg-devel] [PATCH] lavf/movdec: downgrade "shifted frame pts" log line to trace

Rodger Combs rodger.combs at gmail.com
Thu Mar 9 06:44:28 EET 2017


This gets pretty chatty in files that use edit lists, so it fits
a bit better at the trace level with similar messages.
---
 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index d5c3949050..06f84f9f8e 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -3175,7 +3175,7 @@ static void mov_fix_index(MOVContext *mov, AVStream *st)
             curr_cts = current->timestamp + msc->dts_shift;
 
             if (ctts_data_old && ctts_index_old < ctts_count_old) {
-                av_log(mov->fc, AV_LOG_DEBUG, "shifted frame pts, curr_cts: %"PRId64" @ %"PRId64", ctts: %d, ctts_count: %"PRId64"\n",
+                av_log(mov->fc, AV_LOG_TRACE, "shifted frame pts, curr_cts: %"PRId64" @ %"PRId64", ctts: %d, ctts_count: %"PRId64"\n",
                        curr_cts, ctts_index_old, ctts_data_old[ctts_index_old].duration, ctts_count_old);
                 curr_cts += ctts_data_old[ctts_index_old].duration;
                 ctts_sample_old++;
-- 
2.11.1



More information about the ffmpeg-devel mailing list