[FFmpeg-devel] [PATCH] ffprobe: add "print_wrappers" option to default writer
Stefano Sabatini
stefasab at gmail.com
Thu May 10 01:47:34 CEST 2012
On date Wednesday 2012-05-09 01:36:05 +0200, Stefano Sabatini encoded:
> The option is useful for simplifying parsing.
> ---
> doc/ffprobe.texi | 13 +++++++++++
> ffprobe.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++---
> 2 files changed, 69 insertions(+), 4 deletions(-)
>
> diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
> index 47c2156..263bbe3 100644
> --- a/doc/ffprobe.texi
> +++ b/doc/ffprobe.texi
> @@ -195,6 +195,19 @@ keyN=valN
> Metadata tags are printed as a line in the corresponding FORMAT or
> STREAM section, and are prefixed by the string "TAG:".
>
> +This writer accepts options as a list of @var{key}=@var{value} pairs,
> +separated by ":".
> +
> +A description of the accepted options follows.
> +
> + at table @option
> +
> + at item print_wrappers, w
> +If set to 1 specify to print the section header and footer, if set to
> +0 it will not. Default value is 1.
> +
> + at end table
Alternatively I could invert the logic and have noprint_wrappers, but
I prefer to avoid negative logic.
--
FFmpeg = Frightening and Frightening Mythic Picky Evanescent Game
More information about the ffmpeg-devel
mailing list