diff options
author | Nicolas George <george@nsup.org> | 2015-11-29 13:06:28 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-12-22 15:55:00 +0100 |
commit | 63f7bee75221a205c97e0c3948bc24906653e1b7 (patch) | |
tree | 25600de942e065b811f7369252a4e8db0e9c10d0 /libavfilter | |
parent | 05af8608c2dc8ed95e3afa3840308212f3df589e (diff) | |
download | ffmpeg-63f7bee75221a205c97e0c3948bc24906653e1b7.tar.gz |
lavfi/vf_mpdecimate: remove request_frame().
It is no longer needed since looping is not necessary.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_mpdecimate.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c index 20b15a20f0..c0c498bd65 100644 --- a/libavfilter/vf_mpdecimate.c +++ b/libavfilter/vf_mpdecimate.c @@ -224,19 +224,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur) return 0; } -static int request_frame(AVFilterLink *outlink) -{ - DecimateContext *decimate = outlink->src->priv; - AVFilterLink *inlink = outlink->src->inputs[0]; - int ret; - - do { - ret = ff_request_frame(inlink); - } while (decimate->drop_count > 0 && ret >= 0); - - return ret; -} - static const AVFilterPad mpdecimate_inputs[] = { { .name = "default", @@ -251,7 +238,6 @@ static const AVFilterPad mpdecimate_outputs[] = { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, - .request_frame = request_frame, }, { NULL } }; |