Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-12 15:08:04 +0300
committerClément Bœsch <u@pkh.me>2017-03-12 15:08:04 +0300
commit993a9a3d72af4f4a07470570bc472a0d385ca78f (patch)
tree761e895d1d4cdb326bfc0b20a089a52847b04f94 /ffmpeg_filter.c
parent807d5dcde9d83dca48f8dfc5c98bbc2be6fdc61c (diff)
parentb0f36a0043d76436cc7ab8ff92ab99c94595d3c0 (diff)
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.c17
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;