mirror of
https://invent.kde.org/multimedia/kdenlive
synced 2025-12-07 16:59:59 +01:00
Compare commits
2 Commits
work/embed
...
v21.04.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2da06720b | ||
|
|
fcd82a3fde |
@@ -134,6 +134,7 @@ int main(int argc, char **argv)
|
||||
|
||||
// older MLT version, does not support embedded consumer in/out in xml, and current
|
||||
// MLT (6.16) does not pass it onto the multi / movit consumer, so read it manually and enforce
|
||||
LocaleHandling::resetAllLocale();
|
||||
QFile f(playlist);
|
||||
QDomDocument doc;
|
||||
doc.setContent(&f, false);
|
||||
@@ -146,7 +147,6 @@ int main(int argc, char **argv)
|
||||
playlist.append(QStringLiteral("?multi=1"));
|
||||
}
|
||||
}
|
||||
LocaleHandling::resetAllLocale();
|
||||
auto *rJob = new RenderJob(render, playlist, target, pid, in, out, qApp);
|
||||
rJob->start();
|
||||
QObject::connect(rJob, &RenderJob::renderingFinished, rJob, [&, rJob]() {
|
||||
|
||||
@@ -50,11 +50,11 @@ void LocaleHandling::resetLocale()
|
||||
void LocaleHandling::resetAllLocale()
|
||||
{
|
||||
#ifdef Q_OS_FREEBSD
|
||||
setlocale(LC_ALL, "C");
|
||||
setlocale(LC_ALL, "C.UTF-8");
|
||||
#else
|
||||
std::setlocale(LC_ALL, "C");
|
||||
std::setlocale(LC_ALL, "C.UTF-8");
|
||||
#endif
|
||||
::qputenv("LC_ALL", "C");
|
||||
::qputenv("LC_ALL", "C.UTF-8");
|
||||
}
|
||||
|
||||
QPair<QLocale, LocaleHandling::MatchType> LocaleHandling::getQLocaleForDecimalPoint(const QString &requestedLocale, const QString &decimalPoint)
|
||||
|
||||
Reference in New Issue
Block a user