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

Stefano Sabatini stefasab at gmail.com
Fri Sep 28 20:06:28 CEST 2012


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



More information about the ffmpeg-devel mailing list