plugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE...
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 19 Jun 2010 23:33:36 +0000 (00:33 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 23 Jul 2010 16:00:56 +0000 (17:00 +0100)
commit8c72758ec241aeb8d401b26515ac66be19737efb
tree88de0faa0ecf20b6186a41a3934cdc2d40031494
parentf6b020002606d116ee4152548f1e906f3c3b4b9d
plugin: add release datetime field to GstPluginDesc and set it if GST_PACKAGE_RELEASE_DATETIME is defined

This is a string describing a date and/or date/time in a simple subset of
the ISO-8601 format, namely either "YYYY-MM-DD" or "YYYY-MM-DDTHH:MMZ" (with
'T' the date/time separator and the 'Z' indicating UTC).

The main purpose of this field is to keep track of plugin and element versions
on an absolute timeline, so it's possible to determine which one is newer when
comparing two date time numbers. This will allow us to express 'replaces'-type
relationships betweeen plugins and element factories in future, even across
different modules and plugin merges or splits (source module version numbers
aren't particularly useful here, since they can only meaningfully be compared
within the same module). It also allows applications and libraries to reliably
check that a plugin is recent enough without making assumptions about modules
or module versions.

We use a string here to keep things simple and clear, esp. on the build system
side of things.

https://bugzilla.gnome.org/show_bug.cgi?id=623040
gst/gstplugin.c
gst/gstplugin.h
tests/check/gst/gstplugin.c