[gstreamer-bugs] [Bug 608841] unused custom path api in registry

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 15 13:33:03 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=608841
  GStreamer | gstreamer (core) | unspecified

--- Comment #4 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-02-15 21:32:56 UTC ---
Maybe we should first define what the api is supposed to do. I found the issue
that it is useless right now, as I was expecting gst_registry_get_path_list()
to return the list of path that has been checked. And the reason I was wanting
to call that is the eternal problem, that people build stuff from the sources
and thus install plugins to /usr/local by default. If my app is in /usr/local I
wanted to check if gstreamer knows about that path and otherwise warn the user.

Options:

a) deprecate the api
see patch

b) use a static list
- allow the app to add path entries before calling gst-init
- same as if one uses --gst-plugin-path when starting the app

c) use static list + add used dirs
- add the directories that are used to the list (e.g. those from the envvars).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list