[FFmpeg-devel] [PATCH] ffprobe: adapt XML schema to -show_data option.

Stefano Sabatini stefasab at gmail.com
Tue Jul 31 14:05:34 CEST 2012


On date Tuesday 2012-07-31 11:54:20 +0200, Nicolas George encoded:
> Fix trac ticket #1588.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  doc/ffprobe.xsd |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
> index 3a4a8cc..162149a 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">
> @@ -92,6 +93,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"/>
[...]

That's not enough, you need to move show_tags *before*
writer_print_data(), since show_tags will close the stream element.

Too bad we all missed it during review.
-- 
FFmpeg = Furious and Fundamentalist Muttering Picky Evil Ghost


More information about the ffmpeg-devel mailing list