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
397da608
Commit
397da608
authored
Jul 02, 2021
by
Julius Künzel
Browse files
start up check: mlt's xml module is required
without the xml module kdenlive crashes
parent
78c74476
Pipeline
#68215
passed with stage
in 8 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/wizard.cpp
View file @
397da608
...
...
@@ -486,9 +486,20 @@ void Wizard::checkMltComponents()
m_errors
.
append
(
i18n
(
"<li>Missing MLT module: <b>sdl</b> or <b>rtaudio</b><br/>required for audio output</li>"
));
m_systemCheckIsOk
=
false
;
}
// AVformat module
Mlt
::
Consumer
*
consumer
=
nullptr
;
Mlt
::
Profile
p
;
// XML module
if
(
consumersItemList
.
contains
(
QStringLiteral
(
"xml"
)))
{
consumer
=
new
Mlt
::
Consumer
(
p
,
"xml"
);
}
if
(
consumer
==
nullptr
||
!
consumer
->
is_valid
())
{
qDebug
()
<<
"Missing XML MLT module"
;
m_errors
.
append
(
i18n
(
"<li>Missing MLT module: <b>xml</b> <br/>required for audio/video</li>"
));
m_systemCheckIsOk
=
true
;
}
// AVformat module
consumer
=
nullptr
;
if
(
consumersItemList
.
contains
(
QStringLiteral
(
"avformat"
)))
{
consumer
=
new
Mlt
::
Consumer
(
p
,
"avformat"
);
}
...
...
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