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

Stefano Sabatini git at videolan.org
Sat Sep 29 10:27:18 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Sep 28 20:05:18 2012 +0200| [23564a4a4ad4d04254b07bb1440a3bad39ee8cda] | committer: Stefano Sabatini

ffprobe: add support to library ident printing

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=23564a4a4ad4d04254b07bb1440a3bad39ee8cda
---

 doc/ffprobe.xsd |    1 +
 ffprobe.c       |    1 +
 2 files changed, 2 insertions(+)

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)



More information about the ffmpeg-cvslog mailing list