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
59c35849
Commit
59c35849
authored
Jun 17, 2020
by
Jean-Baptiste Mardelle
Browse files
Cleanup & ensure clip monitor audio thumb is displayed even if timeline thumbnails is off
parent
0feea4d1
Pipeline
#24028
passed with stage
in 23 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
59c35849
...
...
@@ -206,11 +206,11 @@ QString ProjectClip::getXmlProperty(const QDomElement &producer, const QString &
void
ProjectClip
::
updateAudioThumbnail
()
{
audioThumbReady
();
if
(
!
KdenliveSettings
::
audiothumbnails
())
{
return
;
}
m_audioThumbCreated
=
true
;
audioThumbReady
();
updateTimelineClips
({
TimelineModel
::
ReloadThumbRole
});
}
...
...
src/jobs/audiothumbjob.cpp
View file @
59c35849
...
...
@@ -353,9 +353,16 @@ bool AudioThumbJob::startJob()
}
m_done
=
false
;
bool
ok
=
m_binClip
->
clipType
()
==
ClipType
::
Playlist
?
(
KdenliveSettings
::
audiothumbnails
()
?
false
:
true
)
:
computeWithFFMPEG
();
if
(
!
m_done
)
{
ok
=
ok
?
ok
:
computeWithMlt
();
bool
ok
=
false
;
if
(
m_binClip
->
clipType
()
==
ClipType
::
Playlist
)
{
if
(
KdenliveSettings
::
audiothumbnails
())
{
ok
=
computeWithMlt
();
}
}
else
{
ok
=
computeWithFFMPEG
();
if
(
!
ok
&&
KdenliveSettings
::
audiothumbnails
())
{
ok
=
computeWithMlt
();
}
}
Q_ASSERT
(
ok
==
m_done
);
if
(
!
m_successful
)
{
...
...
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