diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-28 16:53:48 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-28 19:43:34 +0400 |
commit | cd7febd33f20b42aac14cf9cb87efdf619b39b0a (patch) | |
tree | 6826129a1f327836e1c980449b2fa7308307b615 /libavfilter/avfilter.h | |
parent | 16af29a7a6deff3f6081fca1e36ad96cf8fec77d (diff) |
lavfi: replace filter_samples by filter_frame
Based on patch by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 650ba095c8..dbf3964d86 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -339,7 +339,7 @@ struct AVFilterPad { * must ensure that samplesref is properly unreferenced on error if it * hasn't been passed on to another filter. */ - int (*filter_samples)(AVFilterLink *link, AVFilterBufferRef *samplesref); + int (*filter_frame)(AVFilterLink *link, AVFilterBufferRef *samplesref); /** * Frame poll callback. This returns the number of immediately available @@ -678,7 +678,7 @@ struct AVFilterLink { int partial_buf_size; /** - * Minimum number of samples to filter at once. If filter_samples() is + * Minimum number of samples to filter at once. If filter_frame() is * called with fewer samples, it will accumulate them in partial_buf. * This field and the related ones must not be changed after filtering * has started. @@ -687,7 +687,7 @@ struct AVFilterLink { int min_samples; /** - * Maximum number of samples to filter at once. If filter_samples() is + * Maximum number of samples to filter at once. If filter_frame() is * called with more samples, it will split them. */ int max_samples; @@ -703,7 +703,7 @@ struct AVFilterLink { /** * True if the link is closed. - * If set, all attemps of start_frame, filter_samples or request_frame + * If set, all attemps of start_frame, filter_frame or request_frame * will fail with AVERROR_EOF, and if necessary the reference will be * destroyed. * If request_frame returns AVERROR_EOF, this flag is set on the |