gst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version...
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 21 Mar 2008 15:52:14 +0000 (15:52 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 21 Mar 2008 15:52:14 +0000 (15:52 +0000)
commit63c01eeacb6c61ae35f025d3e5ce1e390217e253
tree4d625438b751fa6810b4d1e4d25b7c2fdb824ae1
parentf654a1a18600a2cce2e063d17317bcb4b3bfa5b8
gst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version. Instead hardcode a value that must...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Don't use GST_MAJORMINOR for the binary registry version. Instead
hardcode a value that must be changed whenever the format changes
in an incompatible way.
Also don't GST_ERROR when there is a version mismatch, just
regenerate the registry silently.
ChangeLog
common
gst/gstregistrybinary.c
gst/gstregistrybinary.h