mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
libavfilter: update doxy for filter_frame
Based on patch by Anton Khirnov Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3ed483cdfa
commit
8227a0b7df
@ -330,16 +330,16 @@ struct AVFilterPad {
|
|||||||
int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
|
int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Samples filtering callback. This is where a filter receives audio data
|
* Filtering callback. This is where a filter receives a frame with
|
||||||
* and should do its processing.
|
* audio/video data and should do its processing.
|
||||||
*
|
*
|
||||||
* Input audio pads only.
|
* Input pads only.
|
||||||
*
|
*
|
||||||
* @return >= 0 on success, a negative AVERROR on error. This function
|
* @return >= 0 on success, a negative AVERROR on error. This function
|
||||||
* must ensure that samplesref is properly unreferenced on error if it
|
* must ensure that frame is properly unreferenced on error if it
|
||||||
* hasn't been passed on to another filter.
|
* hasn't been passed on to another filter.
|
||||||
*/
|
*/
|
||||||
int (*filter_frame)(AVFilterLink *link, AVFilterBufferRef *samplesref);
|
int (*filter_frame)(AVFilterLink *link, AVFilterBufferRef *frame);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Frame poll callback. This returns the number of immediately available
|
* Frame poll callback. This returns the number of immediately available
|
||||||
|
@ -138,16 +138,16 @@ struct AVFilterPad {
|
|||||||
int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
|
int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Samples filtering callback. This is where a filter receives audio data
|
* Filtering callback. This is where a filter receives a frame with
|
||||||
* and should do its processing.
|
* audio/video data and should do its processing.
|
||||||
*
|
*
|
||||||
* Input audio pads only.
|
* Input pads only.
|
||||||
*
|
*
|
||||||
* @return >= 0 on success, a negative AVERROR on error. This function
|
* @return >= 0 on success, a negative AVERROR on error. This function
|
||||||
* must ensure that samplesref is properly unreferenced on error if it
|
* must ensure that samplesref is properly unreferenced on error if it
|
||||||
* hasn't been passed on to another filter.
|
* hasn't been passed on to another filter.
|
||||||
*/
|
*/
|
||||||
int (*filter_frame)(AVFilterLink *link, AVFilterBufferRef *samplesref);
|
int (*filter_frame)(AVFilterLink *link, AVFilterBufferRef *frame);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Frame poll callback. This returns the number of immediately available
|
* Frame poll callback. This returns the number of immediately available
|
||||||
|
Loading…
Reference in New Issue
Block a user