[FFmpeg-cvslog] fftools/ffmpeg_filter: drop a block disabled since 2012
Anton Khirnov
git at videolan.org
Mon Jun 5 17:30:55 EEST 2023
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun May 28 12:02:45 2023 +0200| [d8c61ba723331750e116a83185d54d577760a5e7] | committer: Anton Khirnov
fftools/ffmpeg_filter: drop a block disabled since 2012
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d8c61ba723331750e116a83185d54d577760a5e7
---
fftools/ffmpeg_filter.c | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 287b1e6f9d..1150f6fc65 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1075,26 +1075,6 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
pad_idx = 0;
}
- if (ost->frame_rate.num && 0) {
- AVFilterContext *fps;
- char args[255];
-
- snprintf(args, sizeof(args), "fps=%d/%d", ost->frame_rate.num,
- ost->frame_rate.den);
- snprintf(name, sizeof(name), "fps_out_%d_%d",
- ost->file_index, ost->index);
- ret = avfilter_graph_create_filter(&fps, avfilter_get_by_name("fps"),
- name, args, NULL, fg->graph);
- if (ret < 0)
- return ret;
-
- ret = avfilter_link(last_filter, pad_idx, fps, 0);
- if (ret < 0)
- return ret;
- last_filter = fps;
- pad_idx = 0;
- }
-
snprintf(name, sizeof(name), "trim_out_%d_%d",
ost->file_index, ost->index);
ret = insert_trim(of->start_time, of->recording_time,
More information about the ffmpeg-cvslog
mailing list