gst-discoverer: 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:
Bastien Nocera 2014-01-28 14:28:27 +01:00 committed by Sebastian Dröge
parent 4cb7b6624c
commit f2c1f91508

View file

@ -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");