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

Marvin Scholz git at videolan.org
Fri Oct 4 17:36:24 EEST 2024


ffmpeg | branch: release/7.1 | Marvin Scholz <epirat07 at gmail.com> | Tue Oct  1 03:20:04 2024 +0200| [9b061291ad3c38944ab628be52e9338090d2f3a7] | committer: James Almer

fftools: log unconnected filter output label

(cherry picked from commit f25c9cc213c7e3eb585d3339eb775b16921c4d98)

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

 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 2f2b297932..4e3a47e3b6 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1409,7 +1409,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