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:
4cb7b66
)
gst-discoverer: Support non-ASCII tags
author
Bastien Nocera
<hadess@hadess.net>
Tue, 28 Jan 2014 13:28:27 +0000
(14:28 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 30 Jan 2014 19:14:16 +0000
(20:14 +0100)
By calling setlocale() to get us multi-byte/UTF-8 support.
https://bugzilla.gnome.org/show_bug.cgi?id=723164
tools/gst-discoverer.c
patch
|
blob
|
history
diff --git
a/tools/gst-discoverer.c
b/tools/gst-discoverer.c
index
059d3d7
..
678c5e8
100644
(file)
--- a/
tools/gst-discoverer.c
+++ b/
tools/gst-discoverer.c
@@
-21,6
+21,8
@@
#include "config.h"
#endif
+#include <locale.h>
+
#include <stdlib.h>
#include <glib.h>
#include <gst/gst.h>
@@
-532,6
+534,8
@@
main (int argc, char **argv)
};
GOptionContext *ctx;
+ setlocale (LC_ALL, "");
+
ctx =
g_option_context_new
("- discover files synchronously with GstDiscoverer");