mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
gst-play: Support non-ASCII tags
By calling setlocale() to get us multi-byte/UTF-8 support. https://bugzilla.gnome.org/show_bug.cgi?id=723164
This commit is contained in:
parent
f2c1f91508
commit
01bfc79766
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/gst-i18n-app.h>
|
||||
#include <gst/pbutils/pbutils.h>
|
||||
|
@ -643,6 +645,8 @@ main (int argc, char **argv)
|
|||
{NULL}
|
||||
};
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
|
|
Loading…
Reference in a new issue