1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ffprobe: add support to library ident printing

This commit is contained in:
Stefano Sabatini 2012-09-28 20:05:18 +02:00
parent bad603c66a
commit 23564a4a4a
2 changed files with 2 additions and 0 deletions

View File

@ -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">

View File

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