summaryrefslogtreecommitdiff
path: root/doc/ffprobe.xsd
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-11-24 15:09:52 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-25 19:51:27 +0100
commita02860351db5e06ff960a77e542b076dde7f6797 (patch)
tree69480bcb3b6330fd9183ed1c087f10f48754352c /doc/ffprobe.xsd
parentc0f2e0713566a2bf1c9dc9fd8b60ea30a9ebc418 (diff)
ffprobe: add support for subtitle frames
Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'doc/ffprobe.xsd')
-rw-r--r--doc/ffprobe.xsd15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
index 6a48ff432b..cc3d1b63f7 100644
--- a/doc/ffprobe.xsd
+++ b/doc/ffprobe.xsd
@@ -28,7 +28,10 @@
<xsd:complexType name="framesType">
<xsd:sequence>
- <xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/>
+ <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:complexType>
@@ -82,6 +85,16 @@
<xsd:attribute name="repeat_pict" type="xsd:int" />
</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" />
+ <xsd:attribute name="pts_time" type="xsd:float"/>
+ <xsd:attribute name="format" type="xsd:int" />
+ <xsd:attribute name="start_display_time" type="xsd:int" />
+ <xsd:attribute name="end_display_time" type="xsd:int" />
+ <xsd:attribute name="num_rects" type="xsd:int" />
+ </xsd:complexType>
+
<xsd:complexType name="streamsType">
<xsd:sequence>
<xsd:element name="stream" type="ffprobe:streamType" minOccurs="0" maxOccurs="unbounded"/>