summaryrefslogtreecommitdiff
path: root/doc/ffprobe.xsd
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-audio.com>2014-09-11 09:16:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-07 23:18:15 +0200
commit143a8a44f4ec7a9a0fbd10909cc0cc93d5f39ace (patch)
treea86ffa176eb60baab338a68f5b03536a81e02bcb /doc/ffprobe.xsd
parentabaf4245a1722a3d1b86b9d1a5349f1306c8c7b8 (diff)
ffprobe: add -show_pixel_formats option
Adds option -show_pixel_formats to ffprobe which lists all available pixel formats with some details. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/ffprobe.xsd')
-rw-r--r--doc/ffprobe.xsd13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
index 5dfbb47dff..598f6518cf 100644
--- a/doc/ffprobe.xsd
+++ b/doc/ffprobe.xsd
@@ -10,6 +10,7 @@
<xsd:sequence>
<xsd:element name="program_version" type="ffprobe:programVersionType" minOccurs="0" maxOccurs="1" />
<xsd:element name="library_versions" type="ffprobe:libraryVersionsType" minOccurs="0" maxOccurs="1" />
+ <xsd:element name="pixel_formats" type="ffprobe:pixelFormatsType" minOccurs="0" maxOccurs="1" />
<xsd:element name="packets" type="ffprobe:packetsType" minOccurs="0" maxOccurs="1" />
<xsd:element name="frames" type="ffprobe:framesType" minOccurs="0" maxOccurs="1" />
<xsd:element name="programs" type="ffprobe:programsType" minOccurs="0" maxOccurs="1" />
@@ -277,4 +278,16 @@
<xsd:element name="library_version" type="ffprobe:libraryVersionType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
+
+ <xsd:complexType name="pixelFormatType">
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="nb_components" type="xsd:int" use="required"/>
+ <xsd:attribute name="bits_per_pixel" type="xsd:int"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="pixelFormatsType">
+ <xsd:sequence>
+ <xsd:element name="pixel_format" type="ffprobe:pixelFormatType" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
</xsd:schema>