diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-26 02:41:33 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-03 03:32:16 +0400 |
commit | bb6effe0598d1ab1114d3f8a230fda5f66e81b17 (patch) | |
tree | 9b9ad7981384c8c3e2aa200f5fd58b3ad3919b54 /libavfilter/src_buffer.c | |
parent | ab7dbdc92c449d6c26cc164d149395bd753c0e53 (diff) |
lavfi: remove vsrc_buffer.h API
The vsrc_buffer.h is not installed since commit 0b3b95813576, so there is
no point into keeping it around.
The buffersrc.h API, which is more powerful, should be used instead.
Diffstat (limited to 'libavfilter/src_buffer.c')
-rw-r--r-- | libavfilter/src_buffer.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c index 981ae4d465..c88928710b 100644 --- a/libavfilter/src_buffer.c +++ b/libavfilter/src_buffer.c @@ -30,7 +30,6 @@ #include "audio.h" #include "avcodec.h" #include "buffersrc.h" -#include "vsrc_buffer.h" #include "asrc_abuffer.h" #include "libavutil/audioconvert.h" #include "libavutil/avstring.h" @@ -67,27 +66,6 @@ static void buf_free(AVFilterBuffer *ptr) return; } -int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter, - AVFilterBufferRef *picref, int flags) -{ - return av_buffersrc_add_ref(buffer_filter, picref, 0); -} - -#if CONFIG_AVCODEC -#include "avcodec.h" - -int av_vsrc_buffer_add_frame(AVFilterContext *buffer_src, - const AVFrame *frame, int flags) -{ - return av_buffersrc_add_frame(buffer_src, frame, 0); -} -#endif - -unsigned av_vsrc_buffer_get_nb_failed_requests(AVFilterContext *buffer_src) -{ - return ((BufferSourceContext *)buffer_src->priv)->nb_failed_requests; -} - int av_asrc_buffer_add_audio_buffer_ref(AVFilterContext *ctx, AVFilterBufferRef *samplesref, int av_unused flags) |