[Bug 660760] .prs presets needs to have a per-application option
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 1 10:28:05 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=660760
GStreamer | gstreamer (core) | git
--- Comment #9 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-11-01 17:28:02 UTC ---
I see two options:
a) the application wants to have a bunch of extra presets. the application
would install them to $prefix/share/<appname>/presets instead of
$prefix/share/gstreamer-0.XX/presets. Presets users edit are always in the
preset dir in $HOME. The gstreamer preset system would read system-dir /
app-dir / user-dir and shadow presets in layers below.
For this we just need an extra function to set the appdir or even just check
the application-name. The advantage here is that submitting presets to
gstreamer will move them from app-dir to system-dir and thus provides an easy
migration path (we might want a function that removed presets from upper layers
if they have been merge to lower layers).
b) the application wants to have own presets in a completely separate
namespace. This way app A won't see app Bs' presets.
For this cloning the preset system might be the way to go.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list