Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
dafda496
Commit
dafda496
authored
Jun 07, 2021
by
Jean-Baptiste Mardelle
Browse files
Hopefully proper patch to solve "white" rendering issues
parent
b6ef7c62
Pipeline
#64613
passed with stage
in 8 minutes and 18 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
renderer/kdenlive_render.cpp
View file @
dafda496
...
...
@@ -133,6 +133,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
);
...
...
src/lib/localeHandling.cpp
View file @
dafda496
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment