Skip to content

Commit

Permalink
Force LC_NUMERIC to C
Browse files Browse the repository at this point in the history
FFmpeg is locale-dependent and may not parse filter strings correctly in non-English systems.

Signed-off-by: Maxime Gervais <[email protected]>
  • Loading branch information
g-maxime committed Dec 11, 2024
1 parent 3d1cfd0 commit 2d4ed4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/GUI/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <QScreen>
#include <QtPlugin>
#include <iostream>
#include <clocale>


#include <QtCore/QtPlugin>
Expand All @@ -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;
Expand Down

0 comments on commit 2d4ed4b

Please sign in to comment.