[Gstreamer-openmax] [PATCH 2/2] add gst-openmax registry (config file)

Stefan Kost ensonic at hora-obscura.de
Sat Feb 27 11:39:06 PST 2010


Am 27.02.2010 00:00, schrieb Felipe Contreras:
> On Fri, Feb 26, 2010 at 4:14 PM, Clark, Rob <rob at ti.com> 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.

regarding the xdg use in gst:
https://bugzilla.gnome.org/show_bug.cgi?id=518597
but +1 regarding your comment, just use g_get_user_config_dir()

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

Yep, that would be nice to have and it could probably be done simillar to this
patch. Then some one could write a UI for that. That could work better than the
gconf elements.

Stefan

> 
> Cheers.
> 





More information about the Gstreamer-openmax mailing list