[Bug 748452] System registry cache file

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 25 07:17:07 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748452

--- Comment #1 from Dan Nicholson <nicholson at endlessm.com> ---
Created attachment 302335
  --> https://bugzilla.gnome.org/attachment.cgi?id=302335&action=edit
registry: Don't store hash of environment variables

The expanded environment variables for plugin dependencies are hashed
and stored in the registry. The intended purpose is that if the
environment variables haven't changed, then scanning of the directories
they point to can be skipped. However, this actually isn't the case as
the scanning for plugin dependencies happens unconditionally.

Drop usage of this hash as it can only cause additional registry
rebuilds to occur. If the expanded environment variables are different,
then this will already cause the dependency scanning to search different
locations. If there were no additional dependencies in changed paths,
then the registry should not be rebuilt.

The hash field is kept in the registry structure to allow existing
registry files to be read correctly, but updates will always simply
store a 0 there.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list