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
338e677b
Commit
338e677b
authored
May 27, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix clip thumbs not discarded on property change
parent
937e2061
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
338e677b
...
...
@@ -408,7 +408,6 @@ void ProjectClip::reloadProducer(bool refreshOnly, bool isProxy, bool forceAudio
if
(
!
xml
.
isNull
())
{
bool
hashChanged
=
false
;
m_thumbsProducer
.
reset
();
m_clipStatus
=
FileStatus
::
StatusWaiting
;
ClipType
::
ProducerType
type
=
clipType
();
if
(
type
!=
ClipType
::
Color
&&
type
!=
ClipType
::
Image
&&
type
!=
ClipType
::
SlideShow
)
{
xml
.
removeAttribute
(
"out"
);
...
...
@@ -430,6 +429,7 @@ void ProjectClip::reloadProducer(bool refreshOnly, bool isProxy, bool forceAudio
discardAudioThumb
();
}
ThumbnailCache
::
get
()
->
invalidateThumbsForClip
(
clipId
());
m_clipStatus
=
FileStatus
::
StatusWaiting
;
m_thumbsProducer
.
reset
();
ClipLoadTask
::
start
({
ObjectType
::
BinClip
,
m_binId
.
toInt
()},
xml
,
false
,
-
1
,
-
1
,
this
);
}
...
...
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