rpicamsrc: webrtc example: Set the locale

Make the date format in the overlay respect the current
locale
This commit is contained in:
Jan Schmidt 2018-06-21 20:33:03 +10:00 committed by Tim-Philipp Müller
parent 09d9ac2d2e
commit fa840da606

View file

@ -1,3 +1,4 @@
#include <locale.h>
#include <glib.h> #include <glib.h>
#include <glib-unix.h> #include <glib-unix.h>
#include <gst/gst.h> #include <gst/gst.h>
@ -629,6 +630,7 @@ main (int argc, char *argv[])
SoupServer *soup_server; SoupServer *soup_server;
GHashTable *receiver_entry_table; GHashTable *receiver_entry_table;
setlocale (LC_ALL, "");
gst_init (&argc, &argv); gst_init (&argc, &argv);
receiver_entry_table = receiver_entry_table =