projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c1f91
)
gst-play: Support non-ASCII tags
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 30 Jan 2014 20:18:04 +0000
(21:18 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 30 Jan 2014 20:18:04 +0000
(21:18 +0100)
By calling setlocale() to get us multi-byte/UTF-8 support.
https://bugzilla.gnome.org/show_bug.cgi?id=723164
tools/gst-play.c
patch
|
blob
|
history
diff --git
a/tools/gst-play.c
b/tools/gst-play.c
index
ca3a0c8
..
3582439
100644
(file)
--- a/
tools/gst-play.c
+++ b/
tools/gst-play.c
@@
-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");