lavfi/vf_mpdecimate: remove request_frame().

It is no longer needed since looping is not necessary.
This commit is contained in:
Nicolas George 2015-11-29 13:06:28 +01:00
parent 05af8608c2
commit 63f7bee752
1 changed files with 0 additions and 14 deletions

View File

@ -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 }
};