Commit fcd82a3f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Hopefully proper patch to solve "white" rendering issues

parent e4c9bebe
......@@ -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);
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment