lavfi: remove request_samples.

Filters can use min_samples/max_samples if the number is constant
or activate and ff_inlink_consume_samples().
This commit is contained in:
Nicolas George
2020-08-12 19:17:29 +02:00
parent 4ca1fb9d2a
commit 03c8fe49ea
2 changed files with 3 additions and 104 deletions

View File

@@ -490,14 +490,6 @@ struct AVFilterLink {
struct AVFilterChannelLayouts *in_channel_layouts;
struct AVFilterChannelLayouts *out_channel_layouts;
/**
* Audio only, the destination filter sets this to a non-zero value to
* request that buffers with the given number of samples should be sent to
* it.
* Last buffer before EOF will be padded with silence.
*/
int request_samples;
/** stage of the initialization of the link properties (dimensions, etc) */
enum {
AVLINK_UNINIT = 0, ///< not started