mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
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:
parent
4cb7b6624c
commit
f2c1f91508
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue