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
7b25597f
Commit
7b25597f
authored
Jul 05, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix freebsd compilation (2nd round)
parent
381e4026
Pipeline
#26023
failed with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mltconnection.cpp
View file @
7b25597f
...
...
@@ -19,6 +19,7 @@ the Free Software Foundation, either version 3 of the License, or
#include <QtConcurrent>
#include <lib/localeHandling.h>
#include <locale.h>
#include <mlt++/MltFactory.h>
#include <mlt++/MltRepository.h>
...
...
@@ -87,7 +88,11 @@ MltConnection::MltConnection(const QString &mltPath)
m_repository
=
std
::
unique_ptr
<
Mlt
::
Repository
>
(
Mlt
::
Factory
::
init
());
LocaleHandling
::
resetLocale
();
#ifdef Q_OS_FREEBSD
auto
locale
=
strdup
(
setlocale
(
LC_ALL
,
nullptr
));
#else
auto
locale
=
strdup
(
std
::
setlocale
(
LC_ALL
,
nullptr
));
#endif
qDebug
()
<<
"NEW LC_ALL"
<<
locale
;
locateMeltAndProfilesPath
(
mltPath
);
...
...
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