Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2018-06-21 13:33:03 +0300
committerTim-Philipp Müller <tim@centricular.com>2020-07-10 18:46:24 +0300
commitfa840da60692ab6afc2678e20f5b4462bdb5cadc (patch)
tree2deb91dc0c21d8e3820d738a53d8ed34e68de0a3 /tests
parent09d9ac2d2ead25a83f00d1bc21d686ffb64949b0 (diff)
rpicamsrc: webrtc example: Set the locale
Make the date format in the overlay respect the current locale
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/rpicamsrc/webrtc-unidirectional-h264.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c b/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c
index 290e46da3..1f960b02e 100644
--- a/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c
+++ b/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c
@@ -1,3 +1,4 @@
+#include <locale.h>
#include <glib.h>
#include <glib-unix.h>
#include <gst/gst.h>
@@ -629,6 +630,7 @@ main (int argc, char *argv[])
SoupServer *soup_server;
GHashTable *receiver_entry_table;
+ setlocale (LC_ALL, "");
gst_init (&argc, &argv);
receiver_entry_table =