Browse Source

fftools: log unconnected filter output label

Marvin Scholz 1 year ago
parent
commit
f25c9cc213
1 changed files with 3 additions and 1 deletions
  1. 3 1
      fftools/ffmpeg_filter.c

+ 3 - 1
fftools/ffmpeg_filter.c

@@ -1410,7 +1410,9 @@ int fg_finalise_bindings(void)
             OutputFilter *output = fg->outputs[j];
             OutputFilter *output = fg->outputs[j];
             if (!output->bound) {
             if (!output->bound) {
                 av_log(fg, AV_LOG_FATAL,
                 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);
                 return AVERROR(EINVAL);
             }
             }
         }
         }