Filters can use min_samples/max_samples if the number is constant or activate and ff_inlink_consume_samples().
Showing the changes to libavfilter/avfilter.h (1 of 2 files). Show all
Unified · Split
| @@ -490,14 +490,6 @@ struct AVFilterLink { · 489 unmodified lines | ||
| 490 | 490 | struct AVFilterChannelLayouts *in_channel_layouts; |
| 491 | 491 | struct AVFilterChannelLayouts *out_channel_layouts; |
| 492 | 492 | |
| 493 | − /** | |
| 494 | − * Audio only, the destination filter sets this to a non-zero value to | |
| 495 | − * request that buffers with the given number of samples should be sent to | |
| 496 | − * it. | |
| 497 | − * Last buffer before EOF will be padded with silence. | |
| 498 | − */ | |
| 499 | − int request_samples; | |
| 500 | − | |
| 501 | 493 | /** stage of the initialization of the link properties (dimensions, etc) */ |
| 502 | 494 | enum { |
| 503 | 495 | AVLINK_UNINIT = 0, ///< not started |