[FFmpeg-devel] [PATCH] doc/ffprobe.xsd: add build_date and build_time as optional attributes

Dave Rice dave at dericed.com
Tue May 12 22:56:24 CEST 2015

This patch puts back two attributes that were removed in 7b35a01. If I understand correctly the intent of patch 7b35a01 was to no longer use build_date and build_time as attributes of programVersion, but the patch also had the effect of making all records generated with an earlier ffprobe build with build_date and build_time as invalid. This patch puts the two attributes back but without mandating their use, thus older ffprobe records as backwards compatible with the current schema and their use is no longer required.
Best Regards,
Dave Rice

From 7321e45ff04e5b97908c6525c929bb24363ed135 Mon Sep 17 00:00:00 2001
From: Dave Rice <dave at dericed.com>
Date: Tue, 12 May 2015 16:52:55 -0400
Subject: [PATCH] doc/ffprobe.xsd: add build_date and build_time as optional

This partly undoes 7b35a01.
 doc/ffprobe.xsd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd
index d473c9b..ab65bd4 100644
--- a/doc/ffprobe.xsd
+++ b/doc/ffprobe.xsd
@@ -275,6 +275,8 @@
     <xsd:complexType name="programVersionType">
       <xsd:attribute name="version"          type="xsd:string" use="required"/>
       <xsd:attribute name="copyright"        type="xsd:string" use="required"/>
+      <xsd:attribute name="build_date"       type="xsd:string"/>
+      <xsd:attribute name="build_time"       type="xsd:string"/>
       <xsd:attribute name="compiler_ident"   type="xsd:string" use="required"/>
       <xsd:attribute name="configuration"    type="xsd:string" use="required"/>

More information about the ffmpeg-devel mailing list