Commit f4e4bde1 authored by Moritz Barsnick's avatar Moritz Barsnick Committed by Michael Niedermayer

lavfi: fix typos

Signed-off-by: 's avatarMoritz Barsnick <barsnick@gmx.net>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3305f710
...@@ -109,7 +109,7 @@ static av_cold int init(AVFilterContext *ctx) ...@@ -109,7 +109,7 @@ static av_cold int init(AVFilterContext *ctx)
if (!pan->args) { if (!pan->args) {
av_log(ctx, AV_LOG_ERROR, av_log(ctx, AV_LOG_ERROR,
"pan filter needs a channel layout and a set " "pan filter needs a channel layout and a set "
"of channels definitions as parameter\n"); "of channel definitions as parameter\n");
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
if (!args) if (!args)
...@@ -276,7 +276,7 @@ static int config_props(AVFilterLink *link) ...@@ -276,7 +276,7 @@ static int config_props(AVFilterLink *link)
if (link->channels > MAX_CHANNELS || if (link->channels > MAX_CHANNELS ||
pan->nb_output_channels > MAX_CHANNELS) { pan->nb_output_channels > MAX_CHANNELS) {
av_log(ctx, AV_LOG_ERROR, av_log(ctx, AV_LOG_ERROR,
"af_pan support a maximum of %d channels. " "af_pan supports a maximum of %d channels. "
"Feel free to ask for a higher limit.\n", MAX_CHANNELS); "Feel free to ask for a higher limit.\n", MAX_CHANNELS);
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
......
...@@ -104,8 +104,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) ...@@ -104,8 +104,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
#define OFFSET(x) offsetof(BlackFrameContext, x) #define OFFSET(x) offsetof(BlackFrameContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static const AVOption blackframe_options[] = { static const AVOption blackframe_options[] = {
{ "amount", "Percentage of the pixels that have to be below the threshold " { "amount", "percentage of the pixels that have to be below the threshold "
"for the frame to be considered black.", OFFSET(bamount), AV_OPT_TYPE_INT, { .i64 = 98 }, 0, 100, FLAGS }, "for the frame to be considered black", OFFSET(bamount), AV_OPT_TYPE_INT, { .i64 = 98 }, 0, 100, FLAGS },
{ "threshold", "threshold below which a pixel value is considered black", { "threshold", "threshold below which a pixel value is considered black",
OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255, FLAGS }, OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255, FLAGS },
{ "thresh", "threshold below which a pixel value is considered black", { "thresh", "threshold below which a pixel value is considered black",
......
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