buffersrc: export forgotten function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
703e920bb7
commit
3e2cf79e15
@ -138,7 +138,7 @@ int av_buffersrc_write_frame(AVFilterContext *buffer_filter, AVFrame *frame)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf)
|
int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf)
|
||||||
{
|
{
|
||||||
BufferSourceContext *c = s->priv;
|
BufferSourceContext *c = s->priv;
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -62,6 +62,15 @@ int av_buffersrc_add_ref(AVFilterContext *buffer_src,
|
|||||||
*/
|
*/
|
||||||
unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src);
|
unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add a buffer to the filtergraph s.
|
||||||
|
*
|
||||||
|
* @param buf buffer containing frame data to be passed down the filtergraph.
|
||||||
|
* This function will take ownership of buf, the user must not free it.
|
||||||
|
* A NULL buf signals EOF -- i.e. no more frames will be sent to this filter.
|
||||||
|
*/
|
||||||
|
int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a frame to the buffer source.
|
* Add a frame to the buffer source.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user