diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-28 19:39:04 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-28 19:43:34 +0400 |
commit | 3ed483cdfa5bc9800702a4a505b7164e70b1bcd6 (patch) | |
tree | 199776884982bc63a621a18035e45ebcb60953fa /libavfilter/audio.h | |
parent | a0b8eec719323bc242e47ab891af47cfd8f06aec (diff) |
libavfilter: Support using filter_frame for video
With this we can mix filters using filter_frame OR start/draw_slice/end
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/audio.h')
-rw-r--r-- | libavfilter/audio.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavfilter/audio.h b/libavfilter/audio.h index 35aa4e8a19..8fe4d8ee00 100644 --- a/libavfilter/audio.h +++ b/libavfilter/audio.h @@ -23,6 +23,7 @@ #define AVFILTER_AUDIO_H #include "avfilter.h" +#include "internal.h" static const enum AVSampleFormat ff_packed_sample_fmts_array[] = { AV_SAMPLE_FMT_U8, @@ -74,13 +75,13 @@ AVFilterBufferRef *ff_get_audio_buffer(AVFilterLink *link, int perms, * @return >= 0 on success, a negative AVERROR on error. The receiving filter * is responsible for unreferencing samplesref in case of error. */ -int ff_filter_frame(AVFilterLink *link, AVFilterBufferRef *samplesref); +int ff_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref); /** * Send a buffer of audio samples to the next link, without checking * min_samples. */ -int ff_filter_frame_framed(AVFilterLink *link, - AVFilterBufferRef *samplesref); +int ff_filter_samples_framed(AVFilterLink *link, + AVFilterBufferRef *samplesref); #endif /* AVFILTER_AUDIO_H */ |