History

avfilter/avf_avectorscope: request new frames only when needed

Paul B Mahol committed 4 years ago

Commit 3ce4e081 parent 9aa20d21 file · +5 −0Browse files

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

Unified · Split

libavfilter/avf_avectorscope.c+5−0
@@ -414,6 +414,11 @@ static int activate(AVFilterContext *ctx) · 413 unmodified lines
414 if (ret > 0)414 if (ret > 0)
415 return filter_frame(inlink, in);415 return filter_frame(inlink, in);
416 416
417 if (ff_inlink_queued_samples(inlink) >= s->nb_samples) {
418 ff_filter_set_ready(ctx, 10);
419 return 0;
420 }
421
417 FF_FILTER_FORWARD_STATUS(inlink, outlink);422 FF_FILTER_FORWARD_STATUS(inlink, outlink);
418 FF_FILTER_FORWARD_WANTED(outlink, inlink);423 FF_FILTER_FORWARD_WANTED(outlink, inlink);
419 424

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