瀏覽代碼

fftools: log unconnected filter output label

Marvin Scholz 1 年之前
父節點
當前提交
f25c9cc213
共有 1 個文件被更改,包括 3 次插入1 次删除
  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];
             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);
             }
         }