summaryrefslogtreecommitdiff
path: root/doc/ffprobe.xsd
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-archive.com>2021-03-31 11:47:18 +0200
committerTobias Rapp <t.rapp@noa-archive.com>2021-04-16 08:40:23 +0200
commit39eafd0b2e1c5666029390ac57f3fe5441d8fc7e (patch)
tree6275ccb87cbf34f111ee774f379b34726e1985a0 /doc/ffprobe.xsd
parentf10da58ec367cd802ae697d34c51f447b32a34a2 (diff)
doc/ffprobe.xsd: Clean-up choice indicator definitions
Remove the unneeded wrapping sequence element. Also the minOccurs/maxOccurs occurrence indicators on the inner element definitions can be removed. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Diffstat (limited to 'doc/ffprobe.xsd')
-rw-r--r--doc/ffprobe.xsd22
1 files changed, 9 insertions, 13 deletions
diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
index a9ffe57f16..250de8cd5c 100644
--- a/doc/ffprobe.xsd
+++ b/doc/ffprobe.xsd
@@ -29,22 +29,18 @@
</xsd:complexType>
<xsd:complexType name="framesType">
- <xsd:sequence>
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:choice>
- </xsd:sequence>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="frame" type="ffprobe:frameType"/>
+ <xsd:element name="subtitle" type="ffprobe:subtitleType"/>
+ </xsd:choice>
</xsd:complexType>
<xsd:complexType name="packetsAndFramesType">
- <xsd:sequence>
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="packet" type="ffprobe:packetType" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:choice>
- </xsd:sequence>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="packet" type="ffprobe:packetType"/>
+ <xsd:element name="frame" type="ffprobe:frameType"/>
+ <xsd:element name="subtitle" type="ffprobe:subtitleType"/>
+ </xsd:choice>
</xsd:complexType>
<xsd:complexType name="packetType">