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
95e827d2
Commit
95e827d2
authored
Nov 08, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix crash on project close
parent
51406579
Pipeline
#10120
passed with stage
in 14 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/jobs/audiothumbjob.cpp
View file @
95e827d2
...
...
@@ -119,7 +119,9 @@ bool AudioThumbJob::computeWithFFMPEG()
args
<<
m_binClip
->
getAudioThumbPath
(
true
);
connect
(
m_ffmpegProcess
.
get
(),
&
QProcess
::
readyReadStandardOutput
,
this
,
&
AudioThumbJob
::
updateFfmpegProgress
,
Qt
::
UniqueConnection
);
connect
(
this
,
&
AudioThumbJob
::
jobCanceled
,
[
&
]
()
{
m_ffmpegProcess
->
kill
();
if
(
m_ffmpegProcess
)
{
m_ffmpegProcess
->
kill
();
}
m_done
=
true
;
m_successful
=
false
;
});
...
...
@@ -243,6 +245,7 @@ bool AudioThumbJob::computeWithFFMPEG()
}
}
QString
err
=
m_ffmpegProcess
->
readAllStandardError
();
m_ffmpegProcess
.
reset
();
// m_errorMessage += err;
// m_errorMessage.append(i18n("Failed to create FFmpeg audio thumbnails, we now try to use MLT"));
qWarning
()
<<
"Failed to create FFmpeg audio thumbs:
\n
"
<<
err
<<
"
\n
---------------------"
;
...
...
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