[FFmpeg-cvslog] fftools/ffmpeg_filter: drop a block commented out since 2012
Anton Khirnov
git at videolan.org
Thu Jul 28 18:02:00 EEST 2022
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jun 19 20:11:27 2022 +0200| [df5ea28b3c2e5090b723da107dda64922f748598] | committer: Anton Khirnov
fftools/ffmpeg_filter: drop a block commented out since 2012
Since the option it relates to is deprecated, it is highly unlikely to
become useful.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df5ea28b3c2e5090b723da107dda64922f748598
---
fftools/ffmpeg_filter.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 5d00bfe056..f9ae76f76d 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -902,19 +902,6 @@ static int configure_input_audio_filter(FilterGraph *fg, InputFilter *ifilter,
AUTO_INSERT_FILTER_INPUT("-async", "aresample", args);
}
-// if (ost->audio_channels_mapped) {
-// int i;
-// AVBPrint pan_buf;
-// av_bprint_init(&pan_buf, 256, 8192);
-// av_bprintf(&pan_buf, "0x%"PRIx64,
-// av_get_default_channel_layout(ost->audio_channels_mapped));
-// for (i = 0; i < ost->audio_channels_mapped; i++)
-// if (ost->audio_channels_map[i] != -1)
-// av_bprintf(&pan_buf, ":c%d=c%d", i, ost->audio_channels_map[i]);
-// AUTO_INSERT_FILTER_INPUT("-map_channel", "pan", pan_buf.str);
-// av_bprint_finalize(&pan_buf, NULL);
-// }
-
snprintf(name, sizeof(name), "trim for input stream %d:%d",
ist->file_index, ist->st->index);
if (copy_ts) {
More information about the ffmpeg-cvslog
mailing list