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
455455 return ret;
456456 }
457457
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−
465458 static const AVFilterPad avfilter_vsrc_buffer_outputs[] = {
466459 {
467460 .name = "default",
468461 .type = AVMEDIA_TYPE_VIDEO,
469462 .request_frame = request_frame,
470− .poll_frame = poll_frame,
471463 .config_props = config_props,
472464 },
473465 { NULL }
@@ -492,7 +484,6 @@ static const AVFilterPad avfilter_asrc_abuffer_outputs[] = { · 18 unmodified lines
492484 .name = "default",
493485 .type = AVMEDIA_TYPE_AUDIO,
494486 .request_frame = request_frame,
495− .poll_frame = poll_frame,
496487 .config_props = config_props,
497488 },
498489 { 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