[gstreamer-bugs] [Bug 638860] encoding profiles i18n support

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 18 00:45:10 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=638860
  GStreamer | gst-plugins-base | git

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-01-18 08:45:04 UTC ---
> what about making the return a const gchar* and only determining it on the
> first invocation (turning the "gchar *ret" below into static gchar *ret=NULL?

Thought about that, but depending on the use case the app might need to do a
setlocale() before calling save_to_file() if it wants the description saved as
the to-be-translated name rather than as desc[xy]. So it seemed more flexible
this way, but we can still change it in future. It's not like this is
particularly performance sensitive.

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