summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-02-21 15:55:30 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-09 20:03:33 +0100
commit2eb3d4a0cd6be59eee7bc3845150850a64c4b2c2 (patch)
tree2ecf4ee56a0f7cb18f8f2b3443e99f7eb7b01d6b
parent01e11ab27251977d20264187791566f1297aae57 (diff)
fftools/ffmpeg_filter: add logging for binding inputs to demuxer streams
-rw-r--r--fftools/ffmpeg_filter.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 16e71ed330..8c524b7426 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1142,6 +1142,10 @@ static int fg_complex_bind_input(FilterGraph *fg, InputFilter *ifilter)
return AVERROR(EINVAL);
}
ist = input_files[file_idx]->streams[st->index];
+
+ av_log(fg, AV_LOG_VERBOSE,
+ "Binding input with label '%s' to input stream %d:%d\n",
+ ifp->linklabel, ist->file->index, ist->index);
} else {
ist = ist_find_unused(type);
if (!ist) {
@@ -1149,6 +1153,10 @@ static int fg_complex_bind_input(FilterGraph *fg, InputFilter *ifilter)
"unlabeled input pad %s\n", ifilter->name);
return AVERROR(EINVAL);
}
+
+ av_log(fg, AV_LOG_VERBOSE,
+ "Binding unlabeled input %d to input stream %d:%d\n",
+ ifp->index, ist->file->index, ist->index);
}
av_assert0(ist);