diff options
author | Nicolas George | 2012-07-31 11:53:30 +0200 |
---|---|---|
committer | Nicolas George | 2012-07-31 15:06:57 +0200 |
commit | 89898cd3b6b2806bf823678a47d17f9ed745c69e (patch) | |
tree | a285675c7fc3c2599ea10f728b5750cf72ae29e5 /doc/ffprobe.xsd | |
parent | 52bd9cb4d29bc086f45f239c56a6a3c63406a073 (diff) |
ffprobe: fix validity error with tags and data.
Add "data" and "extradata" attributes to the schema.
Add "tag" element in "streams".
Print extradata before tags to avoid closing the element.
Fix trac ticket #1588.
Diffstat (limited to 'doc/ffprobe.xsd')
-rw-r--r-- | doc/ffprobe.xsd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 13c0d02ae3..4340d462e1 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -44,6 +44,7 @@ <xsd:attribute name="size" type="xsd:long" use="required" /> <xsd:attribute name="pos" type="xsd:long" /> <xsd:attribute name="flags" type="xsd:string" use="required" /> + <xsd:attribute name="data" type="xsd:string" /> </xsd:complexType> <xsd:complexType name="frameType"> @@ -86,6 +87,10 @@ </xsd:complexType> <xsd:complexType name="streamType"> + <xsd:sequence> + <xsd:element name="tag" type="ffprobe:tagType" minOccurs="0" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute name="index" type="xsd:int" use="required"/> <xsd:attribute name="codec_name" type="xsd:string" /> <xsd:attribute name="codec_long_name" type="xsd:string" /> @@ -94,6 +99,7 @@ <xsd:attribute name="codec_time_base" type="xsd:string" use="required"/> <xsd:attribute name="codec_tag" type="xsd:string" use="required"/> <xsd:attribute name="codec_tag_string" type="xsd:string" use="required"/> + <xsd:attribute name="extradata" type="xsd:string" /> <!-- video attributes --> <xsd:attribute name="width" type="xsd:int"/> |