summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_filter.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-12 18:32:25 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-23 11:36:59 +0100
commitd013453caafcc44c74d4bdbaa99ee4e8f32414cb (patch)
tree1c3e4360c73da0efb101936459315fa930d4e463 /fftools/ffmpeg_filter.c
parent9d4e290ec46b29c305dbd5da5913d30efa9db80f (diff)
ffmpeg: drop the -deinterlace option
It is undocumented and has been deprecated since 2013.
Diffstat (limited to 'fftools/ffmpeg_filter.c')
-rw-r--r--fftools/ffmpeg_filter.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index c70903295f..452b689d62 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -805,23 +805,6 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter,
return ret;
}
- if (do_deinterlace) {
- AVFilterContext *yadif;
-
- snprintf(name, sizeof(name), "deinterlace_in_%d_%d",
- ist->file_index, ist->st->index);
- if ((ret = avfilter_graph_create_filter(&yadif,
- avfilter_get_by_name("yadif"),
- name, "", NULL,
- fg->graph)) < 0)
- return ret;
-
- if ((ret = avfilter_link(last_filter, 0, yadif, 0)) < 0)
- return ret;
-
- last_filter = yadif;
- }
-
snprintf(name, sizeof(name), "trim_in_%d_%d",
ist->file_index, ist->st->index);
if (copy_ts) {