|
From: Felipe C. <fel...@gm...> - 2010-02-26 22:01:06
|
On Fri, Feb 26, 2010 at 4:14 PM, Clark, Rob <ro...@ti...> wrote: > > On Feb 26, 2010, at 6:05 AM, Felipe Contreras wrote: > >> 3) The configuration location should be obtained with >> g_get_user_config_dir() ($HOME/.config) > > > What do you think about leaving this as-is, but submitting a patch to gstreamer to add API to get the gst registry directory (gst_get_registry_dir() or something like that?), and later changing to using that? > > I'm wondering if the config file makes more sense to be located along side gst registry.. The problem I have with this approach is that GStreamer registry is fundamentally different; it's not something the user is supposed to change. In fact, the proper location of the registry should probably be ~/.cache/gstreamer-0.10 (through g_get_user_cache_dir()). So if we use use gst_get_registry_dir() the conf might end up in ~/.cache, and I don't think that's good. In fact, I think the user should be able to configure the rank of gstreamer elements (not gst-omx). And if such thing gets ever implemented the configuration would probably be in ~/.config. Until there's a gst_get_config_dir(), I think it's best to follow my proposal. Cheers. -- Felipe Contreras |