[FFmpeg-cvslog] fftools: log unconnected filter output label

Marvin Scholz git at videolan.org
Fri Oct 4 15:28:49 EEST 2024


ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Oct  1 03:20:04 2024 +0200| [f25c9cc213c7e3eb585d3339eb775b16921c4d98] | committer: Marvin Scholz

fftools: log unconnected filter output label

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

 fftools/ffmpeg_filter.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index ddcd18dd15..b1ca710999 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1410,7 +1410,9 @@ int fg_finalise_bindings(void)
             OutputFilter *output = fg->outputs[j];
             if (!output->bound) {
                 av_log(fg, AV_LOG_FATAL,
-                       "Filter %s has an unconnected output\n", output->name);
+                       "Filter '%s' has output %d (%s) unconnected\n",
+                       output->name, j,
+                       output->linklabel ? (const char *)output->linklabel : "unlabeled");
                 return AVERROR(EINVAL);
             }
         }



More information about the ffmpeg-cvslog mailing list