From patchwork Sun Oct 9 10:57:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Moritz Barsnick X-Patchwork-Id: 919 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.66 with SMTP id o63csp2047516vsd; Sun, 9 Oct 2016 03:57:49 -0700 (PDT) X-Received: by 10.194.178.165 with SMTP id cz5mr27736965wjc.202.1476010668987; Sun, 09 Oct 2016 03:57:48 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id wa6si30749502wjc.12.2016.10.09.03.57.48; Sun, 09 Oct 2016 03:57:48 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B65CB689B25; Sun, 9 Oct 2016 13:57:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9E008689AEE for ; Sun, 9 Oct 2016 13:57:05 +0300 (EEST) Received: from paradise.fritz.box ([80.144.19.106]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LiDrv-1b6dV444qh-00nQme; Sun, 09 Oct 2016 12:57:22 +0200 From: Moritz Barsnick To: FFmpeg development discussions and patches Date: Sun, 9 Oct 2016 12:57:00 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: <5bcc1f72bb0f02e5eaf593f9332547ba30d9a8df.1476010504.git.barsnick@gmx.net> References: <3e5a66db2817d8ea4dbd3a1eebbdb8fc5f98bde9.1476010504.git.barsnick@gmx.net> <5bcc1f72bb0f02e5eaf593f9332547ba30d9a8df.1476010504.git.barsnick@gmx.net> X-Provags-ID: V03:K0:dVL3lbzmmuolrRdnLbJYfGiCCSx/7EayEW5vq4jmn0iblCbXUKR 5E9Ji7uk3h5RrjOZo5b8vskCID1xTDNvQ/ru3Wg1AGUDNO8sJ8FxXUwWMaMzz0uXsc6DeQJ Pj8RzMVJ0mYmx3aw5YPdP8h9zX0JtAD7/3szTBybTfhRn1kHW39ZNZU1UnWW+o0v/cVPMD2 uGK1aTSBy9m0tGn7jRrsg== X-UI-Out-Filterresults: notjunk:1; V01:K0:WmXOCEeZmHo=:ZfLln6etyZOuDctO13r8ta TmihXA2sq1eQI0YXOJNrhDMk8Ydhz8Qs4NDdlWtUsUYkrcwnj7zmdhrIl63CpMScWyrRTm7fm Lm1dk45jGQPvMO7mdev2PCyfrK39de3GLgLHy4ixFOdbQ2vORXMVdd+4Roqce/P0jMEVZbgsr 3bGDscfxQCU1XY6xhgXLycF7FIW9mQRoXm4Jo3YVL9geoVDkTZXpcCAWKiYaAdr+fC/PXMvxZ 70QqcfwRm9LNc9DObVz7QgB2XiZwIMeNyquM6Np6AkwffirXH4eDI1Io89AlwK2qZq+GxqlGC NE7uVGsSxoQdK5yYgYNWjkTvjRzaQxTxuehod8FBTsn4s7BA8fErl9J0b16tVmANqD/qcKlao CceCOJoQzHrlGtZXMP2x4W7nWr37BuxkkRPYJrT6m5ZS1mgfhH4kPSpD5So8BTRCCZhPcMvWC jDh5sMMVCw4C+/NO64YO/WZ+601zTT1Rlk9iu6tnkXxTvwhWFrf0fgcE3bulTUC7+n7cqfq2k GjuzIZiy5vfk97XJYXFpSUKcdw4N45s3F/yWgNw8VwV+YZoSIs2VRBj6OdetXqIn+6eAIhyxW +PjOXn2NiB/zYyW9wH5gQ2UUKEtvI9AYpf0DgLAS+Hsz834eVEBEzs1buLxyJ1XG9qQfzHnX0 dQB4E/jQG5MXw3b1lGmp6pw0++8WIoKFE6zy6WB60etYuIZTxSPO54rgDCEHLfBzmSaML5Fkx mCCAEDyET/S3vndyGBrCC6vXehnFYoc59LH84pDTJWOsKdnqIZWmQeIcCDo= Subject: [FFmpeg-devel] [PATCH 3/5] lavfi: fix typos X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Moritz Barsnick MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Moritz Barsnick --- libavfilter/af_pan.c | 4 ++-- libavfilter/vf_blackframe.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index 1eb102c..7c02f67 100644 --- a/libavfilter/af_pan.c +++ b/libavfilter/af_pan.c @@ -109,7 +109,7 @@ static av_cold int init(AVFilterContext *ctx) if (!pan->args) { av_log(ctx, AV_LOG_ERROR, "pan filter needs a channel layout and a set " - "of channels definitions as parameter\n"); + "of channel definitions as parameter\n"); return AVERROR(EINVAL); } if (!args) @@ -276,7 +276,7 @@ static int config_props(AVFilterLink *link) if (link->channels > MAX_CHANNELS || pan->nb_output_channels > MAX_CHANNELS) { 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); return AVERROR_PATCHWELCOME; } diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c index ad6d488..9fe2a42 100644 --- a/libavfilter/vf_blackframe.c +++ b/libavfilter/vf_blackframe.c @@ -104,8 +104,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) #define OFFSET(x) offsetof(BlackFrameContext, x) #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM static const AVOption blackframe_options[] = { - { "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 }, + { "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 }, { "threshold", "threshold below which a pixel value is considered black", OFFSET(bthresh), AV_OPT_TYPE_INT, { .i64 = 32 }, 0, 255, FLAGS }, { "thresh", "threshold below which a pixel value is considered black",