mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
Original commit message from CVS: Patch by: Frederic Crozat <fcrozat@mandriva.org> * ext/dvdread/dvdreadsrc.c: (plugin_init): * ext/lame/gstlame.c: (plugin_init): * gst/asfdemux/gstasf.c: (plugin_init): Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
This commit is contained in:
parent
ee74e87e50
commit
03141f0ff6
1 changed files with 1 additions and 0 deletions
|
@ -1364,6 +1364,7 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||
LOCALEDIR);
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
#endif /* ENABLE_NLS */
|
||||
|
||||
if (!gst_element_register (plugin, "lame", GST_RANK_NONE, GST_TYPE_LAME))
|
||||
|
|
Loading…
Reference in a new issue