diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-02-21 15:55:30 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-03-13 08:01:15 +0100 |
commit | cabeac91238773ec7395048eedafef661255a8de (patch) | |
tree | 1eb35fc21b560ef33994ba940bc189292a7da0c8 /fftools/ffmpeg_filter.c | |
parent | cb0ec854fd2c1248412f725b343cb8bfa95a1898 (diff) | |
download | ffmpeg-cabeac91238773ec7395048eedafef661255a8de.tar.gz |
fftools/ffmpeg_filter: add logging for binding inputs to demuxer streams
Diffstat (limited to 'fftools/ffmpeg_filter.c')
-rw-r--r-- | fftools/ffmpeg_filter.c | 8 |
1 files changed, 8 insertions, 0 deletions
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); |