[gstreamer-bugs] [Bug 560399] Unnecessary CRC checksum for binary registry cache

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Nov 12 02:38:20 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=560399

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|slomo at circular-chaos.org    |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.22




------- Comment #1 from Sebastian Dröge  2008-11-12 10:38 UTC -------
2008-11-12  Sebastian Dröge  <sebastian.droege at collabora.co.uk>

        * 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.

        This saves some milliseconds for reading/writing the registry.
        Fixes bug #560399.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=560399.




More information about the Gstreamer-bugs mailing list