[gst-devel] registry

Bastien Nocera hadess at hadess.net
Thu Mar 28 05:43:04 CET 2002

On Thu, 2002-03-28 at 11:12, Thomas Vander Stichele wrote:
> Hi,
> I've been looking over some of the registry code.
> In my local tree, I moved some things around, added gstregistry.[ch] in 
> /gst, and changed gst-register to match.
> What it does :
> a) if a --gst-registry=(file) has been specified, it will write registry 
> to that file
> b) if none specified, it checks uid
> b1) if 0, save registry where it's always saved (GST_CONFIG_DIR)
> b2) if not 0, save it in ~/.gstreamer/reg.xml
> Now, I want to know if this is ok for all of you (comments welcome of 
> course), and I want to change stuff in gst_init to match.
> However, there's lots of stuff going on there and lots of hardcoded 
> reg.xml bits and checks and I could use some advice or a nudge in the 
> right direction on how to resolve it.
> My goal is (re: using the registry)
> a) if a --gst-registry=(file) is specified, ONLY use that registry (no 
> side effects)
> b) if none specified, load the system registry
> c) if running as a user, load the user registry and overwrite system reg 
> where conflicting
> So, shoot.
> Thomas

I really like that. I think the user shouldn't have to run the register
by hand, so that all apps just "work". Check if any of the directories
containing plugins are newer than the registry, if so, update the
registry. Pretty cool stuff. Keep it on.


/Bastien Nocera
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20020328/3ad43193/attachment.pgp>

More information about the gstreamer-devel mailing list