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
427c7132
Commit
427c7132
authored
May 23, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix crash on add clip introduced in last commit
parent
f1a9ebdf
Pipeline
#62849
passed with stage
in 8 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
427c7132
...
...
@@ -1804,6 +1804,9 @@ int ProjectClip::getAudioMax(int stream)
}
// Process audio max for the stream
const
QString
key2
=
QString
(
"_kdenlive:audio%1"
).
arg
(
stream
);
if
(
!
m_masterProducer
->
property_exists
(
key2
.
toUtf8
().
constData
()))
{
return
0
;
}
const
QVector
<
uint8_t
>
audioData
=
*
static_cast
<
QVector
<
uint8_t
>
*>
(
m_masterProducer
->
get_data
(
key2
.
toUtf8
().
constData
()));
if
(
audioData
.
isEmpty
())
{
return
0
;
...
...
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