diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffprobe.texi | 5 | ||||
-rw-r--r-- | doc/ffprobe.xsd | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 736c7f06c0..002f91e9a7 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -94,6 +94,11 @@ For example for printing the output in JSON format, specify: For more details on the available output printing formats, see the Writers section below. +@item -show_error +Show information about the error found when trying to probe the input. + +The error information is printed within a section with name "ERROR". + @item -show_format Show information about the container format of the input multimedia stream. diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 92bc2b1b55..93da1d4429 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -11,6 +11,7 @@ <xsd:element name="packets" type="ffprobe:packetsType" minOccurs="0" maxOccurs="1" /> <xsd:element name="streams" type="ffprobe:streamsType" minOccurs="0" maxOccurs="1" /> <xsd:element name="format" type="ffprobe:formatType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="error" type="ffprobe:errorType" minOccurs="0" maxOccurs="1" /> </xsd:sequence> </xsd:complexType> @@ -93,4 +94,9 @@ <xsd:attribute name="key" type="xsd:string" use="required"/> <xsd:attribute name="value" type="xsd:string" use="required"/> </xsd:complexType> + + <xsd:complexType name="errorType"> + <xsd:attribute name="code" type="xsd:int" use="required"/> + <xsd:attribute name="string" type="xsd:string" use="required"/> + </xsd:complexType> </xsd:schema> |