mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
rpicamsrc: webrtc example: Set the locale
Make the date format in the overlay respect the current locale
This commit is contained in:
parent
09d9ac2d2e
commit
fa840da606
1 changed files with 2 additions and 0 deletions
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue