From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTP id 395A144DBC
	for <ffmpegdev@gitmailbox.com>; Mon, 27 Mar 2023 04:36:43 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CC96468C6B0;
	Mon, 27 Mar 2023 07:36:37 +0300 (EEST)
Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 024EF68C682
 for <ffmpeg-devel@ffmpeg.org>; Mon, 27 Mar 2023 07:36:32 +0300 (EEST)
Received: from smtp202.mailbox.org (smtp202.mailbox.org
 [IPv6:2001:67c:2050:b231:465::202])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4PlKlK44XBz9sT9
 for <ffmpeg-devel@ffmpeg.org>; Mon, 27 Mar 2023 06:36:29 +0200 (CEST)
Message-ID: <a3787bd0-cb78-e9a1-e7e0-7be6d0883264@gyani.pro>
Date: Mon, 27 Mar 2023 10:06:19 +0530
MIME-Version: 1.0
Content-Language: en-US
To: ffmpeg-devel@ffmpeg.org
References: <20230326173401.56228-1-stefasab@gmail.com>
 <20230326173401.56228-3-stefasab@gmail.com>
From: Gyan Doshi <ffmpeg@gyani.pro>
In-Reply-To: <20230326173401.56228-3-stefasab@gmail.com>
X-Rspamd-Queue-Id: 4PlKlK44XBz9sT9
Subject: Re: [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 <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/a3787bd0-cb78-e9a1-e7e0-7be6d0883264@gyani.pro/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>



On 2023-03-26 11:04 pm, Stefano Sabatini wrote:
> Also provide example showing how to use this feature to improve filtergraph
> readability.

LGTM.

Regards,
Gyan

>
> 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

_______________________________________________
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".