[Bug 660760] .prs presets needs to have a per-application option

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 7 09:57:24 PST 2011


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

--- Comment #14 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-12-07 17:57:19 UTC ---
(In reply to comment #12)
> API looks fine to me, though I would prefer _{set,get}_application_directory()
> instead of _app_dir().
> 

app was choosen due to app src/sink
dir was chose as glib uses dir instead of directory

> Is there a technical reasons why we don't allow changing an already-set
> directory? (Other than that it's hard to come up with a use case where that's
> needed)

One the path has been determined it is stored in qdata of the element-type.
Invalidating the path' would be difficult. Also computing them every time would
be fine, but then we would leak them (the current API returns read-only
references for the other two path). 

> Oh, and the docs could be clearer about what takes precedence - I presume the
> application directory?

Will explain better. It is system < app < user. Rational is that most likely
the user folder is the only writable one.

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