diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-09-26 13:59:56 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-09-27 17:57:30 +0400 |
commit | 8e1f063efcde8173e006705c307c8ebc1ab15637 (patch) | |
tree | 4d493ba98bad74379f8370565bc035028d73b860 /libavfilter/sink_buffer.c | |
parent | e760424ddd202e01119592044394d505810ae00a (diff) |
lavfi: enable buffersinks unconditionally.
They are part of the public API. Their libav compatibility
counterpart are already enabled unconditionally.
Diffstat (limited to 'libavfilter/sink_buffer.c')
-rw-r--r-- | libavfilter/sink_buffer.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c index e34e8e204b..8c52c5c93b 100644 --- a/libavfilter/sink_buffer.c +++ b/libavfilter/sink_buffer.c @@ -188,8 +188,6 @@ int av_buffersink_poll_frame(AVFilterContext *ctx) return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink); } -#if CONFIG_BUFFERSINK_FILTER || CONFIG_FFBUFFERSINK_FILTER - static av_cold int vsink_init(AVFilterContext *ctx, const char *args, void *opaque) { BufferSinkContext *buf = ctx->priv; @@ -259,10 +257,6 @@ AVFilter avfilter_vsink_buffersink = { .outputs = (const AVFilterPad[]) {{ .name = NULL }}, }; -#endif /* CONFIG_BUFFERSINK_FILTER */ - -#if CONFIG_ABUFFERSINK_FILTER || CONFIG_FFABUFFERSINK_FILTER - static int filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref) { end_frame(link); @@ -354,5 +348,3 @@ AVFilter avfilter_asink_abuffersink = { { .name = NULL }}, .outputs = (const AVFilterPad[]) {{ .name = NULL }}, }; - -#endif /* CONFIG_ABUFFERSINK_FILTER */ |