ges: Enhance xges format versioning
authorThibault Saunier <tsaunier@gnome.org>
Mon, 18 May 2015 19:24:25 +0000 (21:24 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Mon, 18 May 2015 19:27:48 +0000 (21:27 +0200)
commit241e809a81b0fc1a2a590882e7362b1eff420c0d
tree73ce8c1159d4d997aabff2468efc5e6e3c757dda
parentff274dee2ef794c8c7de36b3c55f9ccf85fcab2c
ges: Enhance xges format versioning

Summary:
Handle the fact that some new features can be added and that means
generated files will not be fully understandable by older versions of
the formatter.

Make sure that we set the format version to 0.2 when we serialize the
GstEncodingProfile.enabled property.

Add some tests around that.

+ Fix a minor bug in the test-utils
+ Add a meta on the projects to tell in what format version a project
  has been serialized/parsed back

API:
  GES_META_FORMAT_VERSION

Depends on D178

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D184
docs/libs/ges-sections.txt
ges/ges-formatter.c
ges/ges-meta-container.h
ges/ges-xml-formatter.c
tests/check/ges/project.c
tests/check/ges/test-project.xges
tests/check/ges/test-utils.c