[FFmpeg-cvslog] fftools/ffmpeg_filter: clarify error message

Anton Khirnov git at videolan.org
Thu Sep 26 19:33:18 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Sep 11 12:33:18 2024 +0200| [cefc7d1ff44880bc3391071ad049e4527a3b049f] | committer: Anton Khirnov

fftools/ffmpeg_filter: clarify error message

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

 fftools/ffmpeg_filter.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 7ec328e04e..9ffbb8fbf4 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1351,8 +1351,10 @@ static int fg_complex_bind_input(FilterGraph *fg, InputFilter *ifilter)
     } else {
         ist = ist_find_unused(type);
         if (!ist) {
-            av_log(fg, AV_LOG_FATAL, "Cannot find a matching stream for "
-                   "unlabeled input pad %s\n", ifilter->name);
+            av_log(fg, AV_LOG_FATAL,
+                   "Cannot find an unused %s input stream to feed the "
+                   "unlabeled input pad %s.\n",
+                   av_get_media_type_string(type), ifilter->name);
             return AVERROR(EINVAL);
         }
 



More information about the ffmpeg-cvslog mailing list