[FFmpeg-devel] [PATCH 15/22] fftools/ffmpeg: drop an obsolete debug log

Anton Khirnov anton at khirnov.net
Fri Jul 7 12:48:40 EEST 2023


The value it prints has not been cur_dts from lavf for a very long time,
so it's misleading.
---
 fftools/ffmpeg.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 435e12a37b..013935d6ce 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -941,10 +941,6 @@ static int choose_output(OutputStream **post)
         } else {
             opts = ost->last_mux_dts == AV_NOPTS_VALUE ?
                    INT64_MIN : ost->last_mux_dts;
-            if (ost->last_mux_dts == AV_NOPTS_VALUE)
-                av_log(ost, AV_LOG_DEBUG,
-                    "cur_dts is invalid [init:%d i_done:%d finish:%d] (this is harmless if it occurs once at the start per stream)\n",
-                    ost->initialized, ost->inputs_done, ost->finished);
         }
 
         if (!ost->initialized && !ost->inputs_done && !ost->finished) {
-- 
2.40.1



More information about the ffmpeg-devel mailing list