ffprobe: add support to library ident printing
authorStefano Sabatini <stefasab@gmail.com>
Fri, 28 Sep 2012 18:05:18 +0000 (20:05 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sat, 29 Sep 2012 08:24:28 +0000 (10:24 +0200)
doc/ffprobe.xsd
ffprobe.c

index 403d59e..7c7b27e 100644 (file)
       <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">
index d466d5a..531f23c 100644 (file)
--- 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)