History

lavfi/buffersrc: remove poll_frame.

Nicolas George committed 6 years ago

Commit f3a6ef61 parent 65e68501 file · +0 −9Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t