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
f8f05818
Commit
f8f05818
authored
Dec 16, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix monitor audio thumbnail disappearing on proxy disable.
Fixes
#485
parent
528633a4
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
f8f05818
...
...
@@ -1049,7 +1049,8 @@ void ProjectClip::setProperties(const QMap<QString, QString> &properties, bool r
setProducerProperty
(
QStringLiteral
(
"_overwriteproxy"
),
1
);
pCore
->
jobManager
()
->
startJob
<
ProxyJob
>
({
clipId
()},
-
1
,
QString
());
}
else
{
reloadProducer
(
refreshOnly
,
properties
.
contains
(
QStringLiteral
(
"audio_index"
)));
bool
audioStreamChanged
=
properties
.
contains
(
QStringLiteral
(
"audio_index"
));
reloadProducer
(
refreshOnly
,
audioStreamChanged
,
audioStreamChanged
||
(
!
refreshOnly
&&
!
properties
.
contains
(
QStringLiteral
(
"kdenlive:proxy"
))));
}
if
(
refreshOnly
)
{
if
(
auto
ptr
=
m_model
.
lock
())
{
...
...
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