mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
avfilter/fifo: cosmetics
This commit is contained in:
parent
86f0411a52
commit
216830aca4
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
typedef struct Buf {
|
typedef struct Buf {
|
||||||
AVFrame *frame;
|
AVFrame *frame;
|
||||||
struct Buf *next;
|
struct Buf *next;
|
||||||
} Buf;
|
} Buf;
|
||||||
|
|
||||||
typedef struct FifoContext {
|
typedef struct FifoContext {
|
||||||
@ -254,9 +254,9 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
|
|
||||||
static const AVFilterPad avfilter_vf_fifo_inputs[] = {
|
static const AVFilterPad avfilter_vf_fifo_inputs[] = {
|
||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.filter_frame = add_to_queue,
|
.filter_frame = add_to_queue,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
@ -271,23 +271,20 @@ static const AVFilterPad avfilter_vf_fifo_outputs[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
AVFilter ff_vf_fifo = {
|
AVFilter ff_vf_fifo = {
|
||||||
.name = "fifo",
|
.name = "fifo",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Buffer input images and send them when they are requested."),
|
.description = NULL_IF_CONFIG_SMALL("Buffer input images and send them when they are requested."),
|
||||||
|
.init = init,
|
||||||
.init = init,
|
.uninit = uninit,
|
||||||
.uninit = uninit,
|
.priv_size = sizeof(FifoContext),
|
||||||
|
.inputs = avfilter_vf_fifo_inputs,
|
||||||
.priv_size = sizeof(FifoContext),
|
.outputs = avfilter_vf_fifo_outputs,
|
||||||
|
|
||||||
.inputs = avfilter_vf_fifo_inputs,
|
|
||||||
.outputs = avfilter_vf_fifo_outputs,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const AVFilterPad avfilter_af_afifo_inputs[] = {
|
static const AVFilterPad avfilter_af_afifo_inputs[] = {
|
||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.filter_frame = add_to_queue,
|
.filter_frame = add_to_queue,
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
@ -304,12 +301,9 @@ static const AVFilterPad avfilter_af_afifo_outputs[] = {
|
|||||||
AVFilter ff_af_afifo = {
|
AVFilter ff_af_afifo = {
|
||||||
.name = "afifo",
|
.name = "afifo",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Buffer input frames and send them when they are requested."),
|
.description = NULL_IF_CONFIG_SMALL("Buffer input frames and send them when they are requested."),
|
||||||
|
.init = init,
|
||||||
.init = init,
|
.uninit = uninit,
|
||||||
.uninit = uninit,
|
.priv_size = sizeof(FifoContext),
|
||||||
|
.inputs = avfilter_af_afifo_inputs,
|
||||||
.priv_size = sizeof(FifoContext),
|
.outputs = avfilter_af_afifo_outputs,
|
||||||
|
|
||||||
.inputs = avfilter_af_afifo_inputs,
|
|
||||||
.outputs = avfilter_af_afifo_outputs,
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user