Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Gyan Doshi <ffmpeg@gyani.pro>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 3/3] doc/filters: mentions that whitespaces are ignored in the filtergraph specification
Date: Mon, 27 Mar 2023 10:06:19 +0530
Message-ID: <a3787bd0-cb78-e9a1-e7e0-7be6d0883264@gyani.pro> (raw)
In-Reply-To: <20230326173401.56228-3-stefasab@gmail.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".

  reply	other threads:[~2023-03-27  4:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 17:33 [FFmpeg-devel] [PATCH 1/3] doc/filters/drawtext: clarify meaning of strftime format string Stefano Sabatini
2023-03-26 17:34 ` [FFmpeg-devel] [PATCH 2/3] doc/filters: propose solutions to avoid shell escaping Stefano Sabatini
2023-03-27  4:35   ` Gyan Doshi
2023-03-28 22:30     ` Stefano Sabatini
2023-03-26 17:34 ` [FFmpeg-devel] [PATCH 3/3] doc/filters: mentions that whitespaces are ignored in the filtergraph specification Stefano Sabatini
2023-03-27  4:36   ` Gyan Doshi [this message]
2023-03-28 22:31     ` Stefano Sabatini
2023-03-27  4:36 ` [FFmpeg-devel] [PATCH 1/3] doc/filters/drawtext: clarify meaning of strftime format string Gyan Doshi
2023-03-28 22:31   ` Stefano Sabatini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a3787bd0-cb78-e9a1-e7e0-7be6d0883264@gyani.pro \
    --to=ffmpeg@gyani.pro \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git