diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-12 13:08:04 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-12 13:08:04 +0100 |
commit | 993a9a3d72af4f4a07470570bc472a0d385ca78f (patch) | |
tree | 761e895d1d4cdb326bfc0b20a089a52847b04f94 /ffmpeg_filter.c | |
parent | 807d5dcde9d83dca48f8dfc5c98bbc2be6fdc61c (diff) | |
parent | b0f36a0043d76436cc7ab8ff92ab99c94595d3c0 (diff) | |
download | ffmpeg-993a9a3d72af4f4a07470570bc472a0d385ca78f.tar.gz |
Merge commit 'b0f36a0043d76436cc7ab8ff92ab99c94595d3c0'
* commit 'b0f36a0043d76436cc7ab8ff92ab99c94595d3c0':
avconv: stop using setpts for input framerate forced with -r
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'ffmpeg_filter.c')
-rw-r--r-- | ffmpeg_filter.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c index 7f249c2960..6cf4204e2f 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; |