Browse Source

lavfi: cosmetics: fix vertical alignment for pads in some filters

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.0
Paul B Mahol 12 years ago
parent
commit
811b17fbad
3 changed files with 23 additions and 23 deletions
  1. +9
    -9
      libavfilter/vf_colorbalance.c
  2. +9
    -9
      libavfilter/vf_colorchannelmixer.c
  3. +5
    -5
      libavfilter/vf_curves.c

+ 9
- 9
libavfilter/vf_colorbalance.c View File

@@ -185,20 +185,20 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)

static const AVFilterPad colorbalance_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
},
{ NULL }
};

static const AVFilterPad colorbalance_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
{ NULL }
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
{ NULL }
};

AVFilter avfilter_vf_colorbalance = {


+ 9
- 9
libavfilter/vf_colorchannelmixer.c View File

@@ -331,20 +331,20 @@ static av_cold void uninit(AVFilterContext *ctx)

static const AVFilterPad colorchannelmixer_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.filter_frame = filter_frame,
},
{ NULL }
};

static const AVFilterPad colorchannelmixer_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
{ NULL }
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_output,
},
{ NULL }
};

AVFilter avfilter_vf_colorchannelmixer = {


+ 5
- 5
libavfilter/vf_curves.c View File

@@ -532,11 +532,11 @@ static const AVFilterPad curves_inputs[] = {
};

static const AVFilterPad curves_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
{ NULL }
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
{ NULL }
};

AVFilter avfilter_vf_curves = {


Loading…
Cancel
Save