diff mbox series

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

Message ID 20200608101451.10928-3-michael@niedermayer.cc
State Accepted
Commit 04ddace9e880172a5206e931fd12ce98662e1f6d
Headers show
Series [FFmpeg-devel,1/4] avformat/thp: Check fps | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Michael Niedermayer June 8, 2020, 10:14 a.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavformat/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Michael Niedermayer June 14, 2020, 5:19 p.m. UTC | #1
On Mon, Jun 08, 2020 at 12:14:50PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavformat/utils.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

will apply

[...]
diff mbox series

Patch

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