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
26682511
Commit
26682511
authored
Jan 18, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix possible crash on undo/redo transcoding.
Related to
#1307
parent
ca19f563
Pipeline
#125250
passed with stage
in 9 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
26682511
...
...
@@ -4156,6 +4156,10 @@ void Bin::slotAddClipExtraData(const QString &id, const QString &key, const QStr
void
Bin
::
slotUpdateClipProperties
(
const
QString
&
id
,
const
QMap
<
QString
,
QString
>
&
properties
,
bool
refreshPropertiesPanel
)
{
std
::
shared_ptr
<
AbstractProjectItem
>
item
=
m_itemModel
->
getItemByBinId
(
id
);
if
(
!
item
)
{
// Clip might have been deleted
return
;
}
if
(
item
->
itemType
()
==
AbstractProjectItem
::
ClipItem
)
{
std
::
shared_ptr
<
ProjectClip
>
clip
=
std
::
static_pointer_cast
<
ProjectClip
>
(
item
);
if
(
clip
)
{
...
...
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