#include "avfilter.h"
Go to the source code of this file.
Defines | |
#define | AV_VSRC_BUF_FLAG_OVERWRITE 1 |
Tell av_vsrc_buffer_add_video_buffer_ref() to overwrite the already cached video buffer with the new added one, otherwise the function will complain and exit. | |
Functions | |
attribute_deprecated int | av_vsrc_buffer_add_video_buffer_ref (AVFilterContext *buffer_src, AVFilterBufferRef *picref, int flags) |
Add video buffer data in picref to buffer_src. | |
attribute_deprecated unsigned | av_vsrc_buffer_get_nb_failed_requests (AVFilterContext *buffer_src) |
Get the number of failed requests. |
Definition in file vsrc_buffer.h.
#define AV_VSRC_BUF_FLAG_OVERWRITE 1 |
Tell av_vsrc_buffer_add_video_buffer_ref() to overwrite the already cached video buffer with the new added one, otherwise the function will complain and exit.
Definition at line 38 of file vsrc_buffer.h.
attribute_deprecated int av_vsrc_buffer_add_video_buffer_ref | ( | AVFilterContext * | buffer_src, | |
AVFilterBufferRef * | picref, | |||
int | flags | |||
) |
Add video buffer data in picref to buffer_src.
buffer_src | pointer to a buffer source context | |
flags | a combination of AV_VSRC_BUF_FLAG_* flags |
Definition at line 70 of file src_buffer.c.
attribute_deprecated unsigned av_vsrc_buffer_get_nb_failed_requests | ( | AVFilterContext * | buffer_src | ) |
Get the number of failed requests.
A failed request is when the request_frame method is called while no frame is present in the buffer. The number is reset when a frame is added.
Definition at line 86 of file src_buffer.c.