vsrc_buffer: count the number of failed requests.
This commit is contained in:
@@ -46,4 +46,13 @@
|
||||
int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_src,
|
||||
AVFilterBufferRef *picref, int flags);
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
unsigned av_vsrc_buffer_get_nb_failed_requests(AVFilterContext *buffer_src);
|
||||
|
||||
#endif /* AVFILTER_VSRC_BUFFER_H */
|
||||
|
||||
Reference in New Issue
Block a user