Commit 2468827c authored by Michael Niedermayer's avatar Michael Niedermayer

internal.h: remove start/end_frame from AVFilterPad

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e5d4fa9
...@@ -87,18 +87,6 @@ struct AVFilterPad { ...@@ -87,18 +87,6 @@ struct AVFilterPad {
*/ */
int rej_perms; int rej_perms;
/**
* Callback called before passing the first slice of a new frame. If
* NULL, the filter layer will default to storing a reference to the
* picture inside the link structure.
*
* Input video pads only.
*
* @return >= 0 on success, a negative AVERROR on error. picref will be
* unreferenced by the caller in case of error.
*/
void (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref);
/** /**
* Callback function to get a video buffer. If NULL, the filter system will * Callback function to get a video buffer. If NULL, the filter system will
* use ff_default_get_video_buffer(). * use ff_default_get_video_buffer().
...@@ -116,17 +104,6 @@ struct AVFilterPad { ...@@ -116,17 +104,6 @@ struct AVFilterPad {
AVFilterBufferRef *(*get_audio_buffer)(AVFilterLink *link, int perms, AVFilterBufferRef *(*get_audio_buffer)(AVFilterLink *link, int perms,
int nb_samples); int nb_samples);
/**
* Callback called after the slices of a frame are completely sent. If
* NULL, the filter layer will default to releasing the reference stored
* in the link structure during start_frame().
*
* Input video pads only.
*
* @return >= 0 on success, a negative AVERROR on error.
*/
int (*end_frame)(AVFilterLink *link);
/** /**
* Filtering callback. This is where a filter receives a frame with * Filtering callback. This is where a filter receives a frame with
* audio/video data and should do its processing. * audio/video data and should do its processing.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment