fftools: log unconnected filter output label

This commit is contained in:
Marvin Scholz 2024-10-01 03:20:04 +02:00
parent 5beeb3a1f9
commit f25c9cc213
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
}