[FFmpeg-cvslog] avformat/utils: Print analyze duration and probesize when printing a suggestion to increase them

Michael Niedermayer git at videolan.org
Sun Jun 14 20:23:11 EEST 2020


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Jun  8 11:07:27 2020 +0200| [04ddace9e880172a5206e931fd12ce98662e1f6d] | committer: Michael Niedermayer

avformat/utils: Print analyze duration and probesize when printing a suggestion to increase them

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04ddace9e880172a5206e931fd12ce98662e1f6d
---

 libavformat/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 667249362c..45a4179552 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4132,8 +4132,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
             avcodec_string(buf, sizeof(buf), st->internal->avctx, 0);
             av_log(ic, AV_LOG_WARNING,
                    "Could not find codec parameters for stream %d (%s): %s\n"
-                   "Consider increasing the value for the 'analyzeduration' and 'probesize' options\n",
-                   i, buf, errmsg);
+                   "Consider increasing the value for the 'analyzeduration' (%"PRId64") and 'probesize' (%"PRId64") options\n",
+                   i, buf, errmsg, ic->max_analyze_duration, ic->probesize);
         } else {
             ret = 0;
         }



More information about the ffmpeg-cvslog mailing list