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
21cfd4d7
Commit
21cfd4d7
authored
May 13, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash when deselecting all audio streams
parent
ca7fefe9
Pipeline
#20119
passed with stage
in 9 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
21cfd4d7
...
...
@@ -1551,8 +1551,10 @@ void Monitor::reloadActiveStream()
if
(
activeStreams
.
size
()
>
1
)
{
m_glMonitor
->
getControllerProxy
()
->
setAudioStream
(
i18np
(
"%1 audio stream"
,
"%1 audio streams"
,
activeStreams
.
size
()));
// TODO: Mix audio channels
}
else
{
}
else
if
(
!
activeStreams
.
isEmpty
())
{
m_glMonitor
->
getControllerProxy
()
->
setAudioStream
(
m_controller
->
activeStreams
().
first
());
}
else
{
m_glMonitor
->
getControllerProxy
()
->
setAudioStream
(
QString
());
}
prepareAudioThumb
();
for
(
auto
ac
:
acts
)
{
...
...
Eugen Mohr
@emohr
·
May 13, 2020
Developer
Fix for
#382 (closed)
Fix for #382
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