mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/buffersink: cosmetics
This commit is contained in:
parent
fddef964e8
commit
8e30514c4c
@ -336,42 +336,40 @@ AVFILTER_DEFINE_CLASS(abuffersink);
|
|||||||
|
|
||||||
static const AVFilterPad avfilter_vsink_buffer_inputs[] = {
|
static const AVFilterPad avfilter_vsink_buffer_inputs[] = {
|
||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
AVFilter ff_vsink_buffer = {
|
AVFilter ff_vsink_buffer = {
|
||||||
.name = "buffersink",
|
.name = "buffersink",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them available to the end of the filter graph."),
|
.description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them available to the end of the filter graph."),
|
||||||
.priv_size = sizeof(BufferSinkContext),
|
.priv_size = sizeof(BufferSinkContext),
|
||||||
.priv_class = &buffersink_class,
|
.priv_class = &buffersink_class,
|
||||||
.init_opaque = vsink_init,
|
.init_opaque = vsink_init,
|
||||||
|
|
||||||
.query_formats = vsink_query_formats,
|
.query_formats = vsink_query_formats,
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
.inputs = avfilter_vsink_buffer_inputs,
|
.inputs = avfilter_vsink_buffer_inputs,
|
||||||
.outputs = NULL,
|
.outputs = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const AVFilterPad avfilter_asink_abuffer_inputs[] = {
|
static const AVFilterPad avfilter_asink_abuffer_inputs[] = {
|
||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
AVFilter ff_asink_abuffer = {
|
AVFilter ff_asink_abuffer = {
|
||||||
.name = "abuffersink",
|
.name = "abuffersink",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Buffer audio frames, and make them available to the end of the filter graph."),
|
.description = NULL_IF_CONFIG_SMALL("Buffer audio frames, and make them available to the end of the filter graph."),
|
||||||
.priv_class = &abuffersink_class,
|
.priv_class = &abuffersink_class,
|
||||||
.priv_size = sizeof(BufferSinkContext),
|
.priv_size = sizeof(BufferSinkContext),
|
||||||
.init_opaque = asink_init,
|
.init_opaque = asink_init,
|
||||||
|
|
||||||
.query_formats = asink_query_formats,
|
.query_formats = asink_query_formats,
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
.inputs = avfilter_asink_abuffer_inputs,
|
.inputs = avfilter_asink_abuffer_inputs,
|
||||||
.outputs = NULL,
|
.outputs = NULL,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user