Commit 9a268882 authored by Nicolas George's avatar Nicolas George

lavfi/buffersink: rename filter structures.

Reduce the diff with the fork.
parent f7b041b1
......@@ -185,17 +185,13 @@ void avfilter_register_all(void)
REGISTER_FILTER_UNCONDITIONAL(vsink_ffbuffersink);
REGISTER_FILTER_UNCONDITIONAL(asink_ffabuffersink);
#if !AV_HAVE_INCOMPATIBLE_FORK_ABI
REGISTER_FILTER_UNCONDITIONAL(vsink_buffersink);
REGISTER_FILTER_UNCONDITIONAL(asink_abuffersink);
#endif
/* those filters are part of public or internal API => registered
* unconditionally */
REGISTER_FILTER_UNCONDITIONAL(asrc_abuffer);
REGISTER_FILTER_UNCONDITIONAL(vsrc_buffer);
//REGISTER_FILTER_UNCONDITIONAL(asink_abuffer);
//REGISTER_FILTER_UNCONDITIONAL(vsink_buffer);
REGISTER_FILTER_UNCONDITIONAL(asink_abuffer);
REGISTER_FILTER_UNCONDITIONAL(vsink_buffer);
REGISTER_FILTER_UNCONDITIONAL(af_afifo);
REGISTER_FILTER_UNCONDITIONAL(vf_fifo);
}
......@@ -512,7 +512,7 @@ AVFilter avfilter_asink_ffabuffersink = {
.outputs = NULL,
};
static const AVFilterPad buffersink_inputs[] = {
static const AVFilterPad avfilter_vsink_buffer_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
......@@ -521,7 +521,7 @@ static const AVFilterPad buffersink_inputs[] = {
{ NULL }
};
AVFilter avfilter_vsink_buffersink = {
AVFilter avfilter_vsink_buffer = {
.name = "buffersink",
.description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them available to the end of the filter graph."),
.priv_size = sizeof(BufferSinkContext),
......@@ -529,11 +529,11 @@ AVFilter avfilter_vsink_buffersink = {
.uninit = uninit,
.query_formats = vsink_query_formats,
.inputs = buffersink_inputs,
.inputs = avfilter_vsink_buffer_inputs,
.outputs = NULL,
};
static const AVFilterPad abuffersink_inputs[] = {
static const AVFilterPad avfilter_asink_abuffer_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
......@@ -542,7 +542,7 @@ static const AVFilterPad abuffersink_inputs[] = {
{ NULL }
};
AVFilter avfilter_asink_abuffersink = {
AVFilter avfilter_asink_abuffer = {
.name = "abuffersink",
.description = NULL_IF_CONFIG_SMALL("Buffer audio frames, and make them available to the end of the filter graph."),
.priv_size = sizeof(BufferSinkContext),
......@@ -550,6 +550,6 @@ AVFilter avfilter_asink_abuffersink = {
.uninit = uninit,
.query_formats = asink_query_formats,
.inputs = abuffersink_inputs,
.inputs = avfilter_asink_abuffer_inputs,
.outputs = NULL,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment