Browse Source

doc/ffprobe.xsd: add <components> and <pieces>

Originally introduced for dovi side data printing, but not properly
reflected in the xsd.
Niklas Haas 1 year ago
parent
commit
679d5611ed
1 changed files with 26 additions and 0 deletions
  1. 26 0
      doc/ffprobe.xsd

+ 26 - 0
doc/ffprobe.xsd

@@ -162,6 +162,7 @@
   <xsd:complexType name="frameSideDataType">
     <xsd:sequence>
       <xsd:element name="timecodes" type="ffprobe:frameSideDataTimecodeList" minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="components" type="ffprobe:frameSideDataComponentList" minOccurs="0" maxOccurs="1"/>
       <xsd:element name="side_datum" type="ffprobe:frameSideDatumType" minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
 
@@ -185,6 +186,31 @@
     <xsd:attribute name="value"              type="xsd:string"/>
   </xsd:complexType>
 
+  <xsd:complexType name="frameSideDataComponentList">
+    <xsd:sequence>
+      <xsd:element name="component" type="ffprobe:frameSideDataComponentType" minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="frameSideDataComponentType">
+    <xsd:sequence>
+      <xsd:element name="pieces" type="ffprobe:frameSideDataPieceList" minOccurs="0" maxOccurs="1"/>
+      <xsd:element name="side_datum" type="ffprobe:frameSideDatumType" minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="frameSideDataPieceList">
+    <xsd:sequence>
+      <xsd:element name="piece" type="ffprobe:frameSideDataPieceType" minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="frameSideDataPieceType">
+    <xsd:sequence>
+      <xsd:element name="side_datum" type="ffprobe:frameSideDatumType" minOccurs="0" maxOccurs="unbounded"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
   <xsd:complexType name="subtitleType">
     <xsd:attribute name="media_type"         type="xsd:string" fixed="subtitle" use="required"/>
     <xsd:attribute name="pts"                type="xsd:long" />