[FFmpeg-devel] [PATCH 08/18] fftools/ffmpeg_filter: add logging for binding inputs to demuxer streams
Anton Khirnov
anton at khirnov.net
Wed Mar 6 13:03:09 EET 2024
---
fftools/ffmpeg_filter.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index eb8d0aee78..7aa9305c88 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);
--
2.43.0
More information about the ffmpeg-devel
mailing list