From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 02DD643774 for ; Sun, 26 Mar 2023 17:34:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 343DB68C51E; Sun, 26 Mar 2023 20:34:12 +0300 (EEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 08E0F68C05B for ; Sun, 26 Mar 2023 20:34:05 +0300 (EEST) Received: by mail-ed1-f54.google.com with SMTP id h8so26766336ede.8 for ; Sun, 26 Mar 2023 10:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679852043; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qABimQdyvUWR2mXCHo1TLtmUE/FrppKuyiTTh4lGKIU=; b=EO/EDUQzqydtnIsbN7w+8vFoB0v0gXArqD71nLBHupBjyKpC9d7UvAwOAtRqYLHRBR HQUXz8irbcuhZfRv1fFctse2aKGXKXX//nVPagmVkro1gCa8c9qEJktQEty+WsXRf9Sf wChc7VmBvO2uWMDxeYp9AN7IeKkoPIF9jg1Nx2ouKMhs/qKTTSPxL5W5egQuXAUzvSFH pXyLqSjY7YrkAPHAIx3UiRvH2eUd8KzAOufXKC0oyeQYruhXC86QQIE3tgpfnEzsSxD1 t7CjMr0wq4gwF6ookSZBU0N3sFEIH+cjhHiDNFCfELcw7+pAnZhi4XlEQ10/Ip2IzIev Sorg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679852043; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qABimQdyvUWR2mXCHo1TLtmUE/FrppKuyiTTh4lGKIU=; b=3oUt5ZEeKQjK5KC6deUjfoqFA00LOGkNnpd0vy1uHwQHLmvR3FOH7XTEumailkEsJE A+qCWBEfjhDrJn2GbhNXsiRyA+xcR2qT0i2sW6rpcOLrqXUDPay527kzKmsUvgw5i/BU reX3VX53j/av2WCA68u9BEUWQObnCbnZX6WfxVClKiIk1ZjCF6gSo0lRCG790IR9FvkV JDIBewUqVBC8h5VHFpxDCogFI3/wC3DbzERzmObqXGzPft5kbMmh28g0U49kigYTFg5u Ri8t8un+PfSgQrLHdoEu+EqWhP0tw77QvFZ6kQRSSsw8pkxVwM/CAwnAzRBDuZS+ytsw MrLw== X-Gm-Message-State: AAQBX9fJRMd+T3Z6ENpoU9Ib65XhTOTpapOOKoV17CFqPEi+GtDZzZZL hxh5/sBaDrUelC5ADkOAYfAMfQ6hovI= X-Google-Smtp-Source: AKy350YasWZ/vB8FV58JWNy60TQ3/9FZflWPBgtBLRmFJQBYhV0A9mHnPwKtYRU2J6ZfpjZifS+N9w== X-Received: by 2002:a05:6402:14d6:b0:502:4184:a067 with SMTP id f22-20020a05640214d600b005024184a067mr2249052edx.15.1679852043517; Sun, 26 Mar 2023 10:34:03 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-98-143.clienti.tiscali.it. [62.10.98.143]) by smtp.gmail.com with ESMTPSA id q18-20020a50c352000000b00501d39f1d2dsm9234061edb.41.2023.03.26.10.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 10:34:02 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 4A09BBFB75; Sun, 26 Mar 2023 19:34:01 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sun, 26 Mar 2023 19:34:01 +0200 Message-Id: <20230326173401.56228-3-stefasab@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230326173401.56228-1-stefasab@gmail.com> References: <20230326173401.56228-1-stefasab@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/3] doc/filters: mentions that whitespaces are ignored in the filtergraph specification X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Stefano Sabatini Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Also provide example showing how to use this feature to improve filtergraph readability. Address issue: http://trac.ffmpeg.org/ticket/8115 --- doc/filters.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 1c9d523340..889de8b11a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -214,6 +214,23 @@ In a complete filterchain all the unlabelled filter input and output pads must be connected. A filtergraph is considered valid if all the filter input and output pads of all the filterchains are connected. +Leading and trailing whitespaces (space, tabs, or line feeds) separating tokens +in the filtergraph specification are ignored. This means that the filtergraph +can be expressed using empty lines and spaces to improve redability. + +For example, the filtergraph: +@example +testsrc,split[L1],hflip[L2];[L1][L2] hstack +@end example + +can be represented as: +@example +testsrc, +split [L1], hflip [L2]; + +[L1][L2] hstack +@end example + Libavfilter will automatically insert @ref{scale} filters where format conversion is required. It is possible to specify swscale flags for those automatically inserted scalers by prepending -- 2.25.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".