gst/gstregistrybinary.*: Don't write and check a CRC for the binary registry file...
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 12 Nov 2008 10:39:25 +0000 (10:39 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 12 Nov 2008 10:39:25 +0000 (10:39 +0000)
commit681e4d01c806c5b5b7e99cbd24370196a00e786c
tree2f16e3b507593708ec9c8a75f1e8face0979f138
parent6f621b03a8add859b32fe99b43169ff698196a74
gst/gstregistrybinary.*: Don't write and check a CRC for the binary registry file. It's guaranteed that the registry ...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic):
* gst/gstregistrybinary.h:
Don't write and check a CRC for the binary registry file. It's
guaranteed that the registry is completely written (it's first written
to a temporary file and then moved) and if the registry was corrupted
by some hardware failure we would have bigger problems.
Bump binary registry version to 0.10.21.1 for this as it's an
incompatible change and to ensure that the registry gets rebuild
after the update.
This saves some milliseconds for reading/writing the registry.
Fixes bug #560399.
ChangeLog
gst/gstregistrybinary.c
gst/gstregistrybinary.h