X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=ffmpeg_filter.c;h=5cc640d75dbc0c757ec17ae1c3c1d2dd4ee40d31;hb=95a72aed764aa8a08c56ba0e8cf5153f5b769222;hp=7f249c2960260ba128e1b94d0581ab94be227d47;hpb=16abc10b0997c76cbb0c0ebedc49f6bc21452f9d;p=ffmpeg diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c index 7f249c29602..5cc640d75db 100644 --- a/ffmpeg_filter.c +++ b/ffmpeg_filter.c @@ -802,23 +802,6 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter, return ret; } - if (ist->framerate.num) { - AVFilterContext *setpts; - - snprintf(name, sizeof(name), "forcecfr_in_%d_%d", - ist->file_index, ist->st->index); - if ((ret = avfilter_graph_create_filter(&setpts, - avfilter_get_by_name("setpts"), - name, "N", NULL, - fg->graph)) < 0) - return ret; - - if ((ret = avfilter_link(last_filter, 0, setpts, 0)) < 0) - return ret; - - last_filter = setpts; - } - if (do_deinterlace) { AVFilterContext *yadif; @@ -1037,7 +1020,6 @@ int configure_filtergraph(FilterGraph *fg) } if (strlen(args)) args[strlen(args) - 1] = '\0'; - fg->graph->resample_lavr_opts = av_strdup(args); e = av_dict_get(ost->encoder_opts, "threads", NULL, 0); if (e)