[FFmpeg-devel] [PATCH] ffprobe: add support to library ident printing
Clément Bœsch
ubitux at gmail.com
Fri Sep 28 23:38:43 CEST 2012
On Fri, Sep 28, 2012 at 08:06:28PM +0200, Stefano Sabatini wrote:
> ---
> doc/ffprobe.xsd | 1 +
> ffprobe.c | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
> index 403d59e..7c7b27e 100644
> --- a/doc/ffprobe.xsd
> +++ b/doc/ffprobe.xsd
> @@ -175,6 +175,7 @@
> <xsd:attribute name="minor" type="xsd:int" use="required"/>
> <xsd:attribute name="micro" type="xsd:int" use="required"/>
> <xsd:attribute name="version" type="xsd:int" use="required"/>
> + <xsd:attribute name="ident" type="xsd:string" use="required"/>
> </xsd:complexType>
>
> <xsd:complexType name="libraryVersionsType">
> diff --git a/ffprobe.c b/ffprobe.c
> index d466d5a..531f23c 100644
> --- a/ffprobe.c
> +++ b/ffprobe.c
> @@ -1891,6 +1891,7 @@ static void ffprobe_show_program_version(WriterContext *w)
> print_int("minor", LIB##LIBNAME##_VERSION_MINOR); \
> print_int("micro", LIB##LIBNAME##_VERSION_MICRO); \
> print_int("version", version); \
> + print_str("ident", LIB##LIBNAME##_IDENT); \
> writer_print_section_footer(w); \
> } \
> } while (0)
OK
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120928/3aee2c93/attachment.asc>
More information about the ffmpeg-devel
mailing list