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
d02863d2
Commit
d02863d2
authored
Sep 24, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix clip duration incorrectly reset on profile change. Fixes
#360
parent
56536237
Pipeline
#8191
passed with stage
in 16 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
d02863d2
...
...
@@ -3131,8 +3131,10 @@ void Bin::reloadAllProducers()
// Make sure we reload clip length
xml
.
removeAttribute
(
QStringLiteral
(
"out"
));
Xml
::
removeXmlProperty
(
xml
,
QStringLiteral
(
"length"
));
clip
->
resetProducerProperty
(
QStringLiteral
(
"kdenlive:duration"
));
clip
->
resetProducerProperty
(
QStringLiteral
(
"length"
));
if
(
clip
->
isValid
())
{
clip
->
resetProducerProperty
(
QStringLiteral
(
"kdenlive:duration"
));
clip
->
resetProducerProperty
(
QStringLiteral
(
"length"
));
}
if
(
!
xml
.
isNull
())
{
clip
->
setClipStatus
(
AbstractProjectItem
::
StatusWaiting
);
clip
->
discardAudioThumb
();
...
...
Davy Bartoloni
🍕
@bartoloni
mentioned in issue
#390 (closed)
·
Nov 30, 2019
mentioned in issue
#390 (closed)
mentioned in issue #390
Toggle commit list
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