diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-05-05 11:50:30 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-05-06 18:18:10 +0400 |
commit | 4d4350f47a2abb600721cd1c1281d0d0c0169bff (patch) | |
tree | e9610ff066c44fce8b4dbaad6a98507156427759 /libavfilter/src_buffer.c | |
parent | fe511b6e32be8ce0db9bd8b2a7091936f6f29651 (diff) |
src_buffer: update get_nb_failed_requests name.
Implement av_buffersrc_get_nb_failed_requests.
Deprecate av_vsrc_buffer_get_nb_failed_requests.
Diffstat (limited to 'libavfilter/src_buffer.c')
-rw-r--r-- | libavfilter/src_buffer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c index f247f2c788..a64a6e2f6c 100644 --- a/libavfilter/src_buffer.c +++ b/libavfilter/src_buffer.c @@ -331,6 +331,11 @@ int av_vsrc_buffer_add_frame(AVFilterContext *buffer_src, } #endif +unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src) +{ + return ((BufferSourceContext *)buffer_src->priv)->nb_failed_requests; +} + unsigned av_vsrc_buffer_get_nb_failed_requests(AVFilterContext *buffer_src) { return ((BufferSourceContext *)buffer_src->priv)->nb_failed_requests; |