Unified · Split
| @@ -455,19 +455,11 @@ static int request_frame(AVFilterLink *link) · 454 unmodified lines | ||
| 455 | 455 | return ret; |
| 456 | 456 | } |
| 457 | 457 | |
| 458 | −static int poll_frame(AVFilterLink *link) | |
| 459 | −{ | |
| 460 | − BufferSourceContext *c = link->src->priv; | |
| 461 | − av_assert0(c->queued_frame == NULL); | |
| 462 | − return c->eof ? AVERROR_EOF : 0; | |
| 463 | −} | |
| 464 | − | |
| 465 | 458 | static const AVFilterPad avfilter_vsrc_buffer_outputs[] = { |
| 466 | 459 | { |
| 467 | 460 | .name = "default", |
| 468 | 461 | .type = AVMEDIA_TYPE_VIDEO, |
| 469 | 462 | .request_frame = request_frame, |
| 470 | − .poll_frame = poll_frame, | |
| 471 | 463 | .config_props = config_props, |
| 472 | 464 | }, |
| 473 | 465 | { NULL } |
| @@ -492,7 +484,6 @@ static const AVFilterPad avfilter_asrc_abuffer_outputs[] = { · 18 unmodified lines | ||
| 492 | 484 | .name = "default", |
| 493 | 485 | .type = AVMEDIA_TYPE_AUDIO, |
| 494 | 486 | .request_frame = request_frame, |
| 495 | − .poll_frame = poll_frame, | |
| 496 | 487 | .config_props = config_props, |
| 497 | 488 | }, |
| 498 | 489 | { NULL } |