ffmpeg | branch: master | Nicolas George <geo...@nsup.org> | Mon Dec  2 
16:42:59 2019 +0100| [f3a6ef69bfccf3b9f883ccfd75f91c1fa6916478] | committer: 
Nicolas George

lavfi/buffersrc: remove poll_frame.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3a6ef69bfccf3b9f883ccfd75f91c1fa6916478
---

 libavfilter/buffersrc.c | 9 ---------
 1 file changed, 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 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to