diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-09-01 21:18:38 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-09-01 21:18:38 +0100 |
commit | 1dfc1f268685ab39f75dbb51e7c7bd3f78513fee (patch) | |
tree | 98b4aff387de5139d9c548927633edb8d89ca3ea /sys/v4l2/gstv4l2.c | |
parent | d851b8a8b48620c282b0d22f3622f2941ab80dfb (diff) |
Don't use setlocale in plugins()
Only apps should call setlocale(), not libraries.
Diffstat (limited to 'sys/v4l2/gstv4l2.c')
-rw-r--r-- | sys/v4l2/gstv4l2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index 12b247fb2..a61d6ab70 100644 --- a/sys/v4l2/gstv4l2.c +++ b/sys/v4l2/gstv4l2.c @@ -61,7 +61,6 @@ plugin_init (GstPlugin * plugin) return FALSE; #ifdef ENABLE_NLS - setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif /* ENABLE_NLS */ |