History

avfilter/af_aresample: make aresample return FFERROR_NOT_READY when no progress can be made

FF_FILTER_FORWARD_WANTED() already sets the ready status as needed.

Marton Balint committed 1 year ago

Commit a21429e1 parent ffcdd2c1 file · +1 −2Browse files

Unified · Split

libavfilter/af_aresample.c+1−2
@@ -354,8 +354,7 @@ static int activate(AVFilterContext *ctx) · 353 unmodified lines
354354 return ff_filter_frame(outlink, outsamplesref);
355355 }
356356
357− ff_filter_set_ready(ctx, 100);
358− return 0;
357+ return FFERROR_NOT_READY;
359358 }
360359
361360 static const AVClass *resample_child_class_iterate(void **iter)

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