diff mbox series

[FFmpeg-devel,1/2] doc/ffprobe.xsd: add frameSideDatumType entry

Message ID 20240228132350.21002-1-ffmpeg@haasn.xyz
State Accepted
Commit 245eb671608156efbc051424bcaaf82e45da3ffd
Headers show
Series [FFmpeg-devel,1/2] doc/ffprobe.xsd: add frameSideDatumType entry | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Niklas Haas Feb. 28, 2024, 1:23 p.m. UTC
From: Niklas Haas <git@haasn.dev>

Frame-level side data attributes are printed with the same key/value
structure as packet-level side data attributes, but this is not
reflected in the XSD.
---
 doc/ffprobe.xsd | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
index 23d97ed11ab..5d17b5d9b90 100644
--- a/doc/ffprobe.xsd
+++ b/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="side_datum" type="ffprobe:frameSideDatumType" minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
 
     <xsd:attribute name="side_data_type"              type="xsd:string"/>
@@ -169,6 +170,11 @@ 
     <xsd:attribute name="timecode"                    type="xsd:string"/>
   </xsd:complexType>
 
+  <xsd:complexType name="frameSideDatumType">
+    <xsd:attribute name="key"   type="xsd:string"/>
+    <xsd:attribute name="value" type="xsd:string"/>
+  </xsd:complexType>
+
   <xsd:complexType name="frameSideDataTimecodeList">
     <xsd:sequence>
       <xsd:element name="timecode" type="ffprobe:frameSideDataTimecodeType" minOccurs="0" maxOccurs="unbounded"/>