[FFmpeg-devel] [PATCH] ffprobe: add support to library ident printing

Stefano Sabatini stefasab at gmail.com
Sat Sep 29 10:27:50 CEST 2012


On date Friday 2012-09-28 23:38:43 +0200, Clément Bœsch encoded:
> 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

Applied.
-- 
FFmpeg = Furious and Formidable Meaningless Picky Enlightening Gymnast


More information about the ffmpeg-devel mailing list