Thomas Vander Stichele
thomas at urgent.rug.ac.be
Thu Mar 28 03:14:02 CET 2002
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
b) if none specified, load the system registry
c) if running as a user, load the user registry and overwrite system reg
The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
I can't go away with you on a rock climbing weekend
What if something's on TV and it's never shown again
Just as well I'm not invited I'm afraid of heights
I lied about being the outdoor type
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/
More information about the gstreamer-devel