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

Submitted by Rodger Combs on March 9, 2017, 4:44 a.m.

Details

Message ID 20170309044428.53002-1-rodger.combs@gmail.com
State New
Headers show

Commit Message

Rodger Combs March 9, 2017, 4:44 a.m.
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(-)

Patch hide | download patch | download mbox

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++;