From 2d4ed4b9c6c28d993d88d1e679211d499832cdb6 Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Wed, 11 Dec 2024 02:07:21 +0100 Subject: [PATCH] Force LC_NUMERIC to C FFmpeg is locale-dependent and may not parse filter strings correctly in non-English systems. Signed-off-by: Maxime Gervais --- Source/GUI/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/GUI/main.cpp b/Source/GUI/main.cpp index 3ba0e45b8..076eadcc0 100755 --- a/Source/GUI/main.cpp +++ b/Source/GUI/main.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include @@ -25,6 +26,7 @@ int main(int argc, char *argv[]) { qputenv("QT_AVPLAYER_NO_HWDEVICE", "1"); + qputenv("LC_NUMERIC", "C"); QApplication a(argc, argv); Logging logging;