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
56815a21
Commit
56815a21
authored
Dec 06, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix monitor corruption on autosave
parent
699bba9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
56815a21
...
...
@@ -1342,18 +1342,12 @@ const QString GLWidget::sceneList(const QString &root, const QString &fullPath)
if
(
!
xmlConsumer
.
is_valid
())
{
return
QString
();
}
m_producer
->
optimise
();
xmlConsumer
.
set
(
"terminate_on_pause"
,
1
);
xmlConsumer
.
set
(
"store"
,
"kdenlive"
);
xmlConsumer
.
set
(
"time_format"
,
"clock"
);
// Disabling meta creates cleaner files, but then we don't have access to metadata on the fly (meta channels, etc)
// And we must use "avformat" instead of "avformat-novalidate" on project loading which causes a big delay on project opening
// xmlConsumer.set("no_meta", 1);
Mlt
::
Producer
prod
(
m_producer
->
get_producer
());
if
(
!
prod
.
is_valid
())
{
return
QString
();
}
xmlConsumer
.
connect
(
prod
);
xmlConsumer
.
connect
(
*
m_producer
.
get
());
xmlConsumer
.
run
();
playlist
=
fullPath
.
isEmpty
()
?
QString
::
fromUtf8
(
xmlConsumer
.
get
(
"kdenlive_playlist"
))
:
fullPath
;
return
playlist
;
...
...
Write
Preview
Supports
Markdown
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