Commit f3a6ef69 authored by Nicolas George's avatar Nicolas George

lavfi/buffersrc: remove poll_frame.

parent 65e6850c
...@@ -455,19 +455,11 @@ static int request_frame(AVFilterLink *link) ...@@ -455,19 +455,11 @@ static int request_frame(AVFilterLink *link)
return ret; return ret;
} }
static int poll_frame(AVFilterLink *link)
{
BufferSourceContext *c = link->src->priv;
av_assert0(c->queued_frame == NULL);
return c->eof ? AVERROR_EOF : 0;
}
static const AVFilterPad avfilter_vsrc_buffer_outputs[] = { static const AVFilterPad avfilter_vsrc_buffer_outputs[] = {
{ {
.name = "default", .name = "default",
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.request_frame = request_frame, .request_frame = request_frame,
.poll_frame = poll_frame,
.config_props = config_props, .config_props = config_props,
}, },
{ NULL } { NULL }
...@@ -492,7 +484,6 @@ static const AVFilterPad avfilter_asrc_abuffer_outputs[] = { ...@@ -492,7 +484,6 @@ static const AVFilterPad avfilter_asrc_abuffer_outputs[] = {
.name = "default", .name = "default",
.type = AVMEDIA_TYPE_AUDIO, .type = AVMEDIA_TYPE_AUDIO,
.request_frame = request_frame, .request_frame = request_frame,
.poll_frame = poll_frame,
.config_props = config_props, .config_props = config_props,
}, },
{ NULL } { NULL }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment