summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2019-12-02 16:42:59 +0100
committerNicolas George <george@nsup.org>2019-12-23 13:03:38 +0100
commitf3a6ef69bfccf3b9f883ccfd75f91c1fa6916478 (patch)
tree24303d169a8c68eaabc2e4d5713f69a3e04685fc /libavfilter/buffersrc.c
parent65e6850c567066a3ce54dad60b1f05c2677c84cf (diff)
downloadffmpeg-f3a6ef69bfccf3b9f883ccfd75f91c1fa6916478.tar.gz
lavfi/buffersrc: remove poll_frame.
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r--libavfilter/buffersrc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index d0ddc6b950..e95d9c4f49 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -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 }