Browse Source

lavfi/buffersrc: remove poll_frame.

tags/n4.3
Nicolas George 5 years ago
parent
commit
f3a6ef69bf
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      libavfilter/buffersrc.c

+ 0
- 9
libavfilter/buffersrc.c View File

@@ -455,19 +455,11 @@ static int request_frame(AVFilterLink *link)
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[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.request_frame = request_frame,
.poll_frame = poll_frame,
.config_props = config_props,
},
{ NULL }
@@ -492,7 +484,6 @@ static const AVFilterPad avfilter_asrc_abuffer_outputs[] = {
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.request_frame = request_frame,
.poll_frame = poll_frame,
.config_props = config_props,
},
{ NULL }


Loading…
Cancel
Save