[FFmpeg-cvslog] fftools/ffmpeg_filter: add logging for binding inputs to demuxer streams
Anton Khirnov
git at videolan.org
Wed Mar 13 09:27:05 EET 2024
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Feb 21 15:55:30 2024 +0100| [cabeac91238773ec7395048eedafef661255a8de] | committer: Anton Khirnov
fftools/ffmpeg_filter: add logging for binding inputs to demuxer streams
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cabeac91238773ec7395048eedafef661255a8de
---
fftools/ffmpeg_filter.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 427a5806af..32d2ef8a5d 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);
More information about the ffmpeg-cvslog
mailing list