[FFmpeg-devel] [PATCH 09/13] fftools/ffmpeg_filter: clarify error message

Anton Khirnov anton at khirnov.net
Tue Sep 24 10:09:50 EEST 2024


---
 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..4196fd865d 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);
         }
 
-- 
2.43.0



More information about the ffmpeg-devel mailing list