From fa840da60692ab6afc2678e20f5b4462bdb5cadc Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 21 Jun 2018 20:33:03 +1000 Subject: [PATCH] rpicamsrc: webrtc example: Set the locale Make the date format in the overlay respect the current locale --- tests/examples/rpicamsrc/webrtc-unidirectional-h264.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c b/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c index 290e46da30..1f960b02ef 100644 --- a/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c +++ b/tests/examples/rpicamsrc/webrtc-unidirectional-h264.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -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 =