ffprobe: add support to library ident printing

pull/6/head
Stefano Sabatini 12 years ago
parent bad603c66a
commit 23564a4a4a
  1. 1
      doc/ffprobe.xsd
  2. 1
      ffprobe.c

@ -175,6 +175,7 @@
<xsd:attribute name="minor" type="xsd:int" use="required"/> <xsd:attribute name="minor" type="xsd:int" use="required"/>
<xsd:attribute name="micro" 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="version" type="xsd:int" use="required"/>
<xsd:attribute name="ident" type="xsd:string" use="required"/>
</xsd:complexType> </xsd:complexType>
<xsd:complexType name="libraryVersionsType"> <xsd:complexType name="libraryVersionsType">

@ -1891,6 +1891,7 @@ static void ffprobe_show_program_version(WriterContext *w)
print_int("minor", LIB##LIBNAME##_VERSION_MINOR); \ print_int("minor", LIB##LIBNAME##_VERSION_MINOR); \
print_int("micro", LIB##LIBNAME##_VERSION_MICRO); \ print_int("micro", LIB##LIBNAME##_VERSION_MICRO); \
print_int("version", version); \ print_int("version", version); \
print_str("ident", LIB##LIBNAME##_IDENT); \
writer_print_section_footer(w); \ writer_print_section_footer(w); \
} \ } \
} while (0) } while (0)

Loading…
Cancel
Save