Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
dea6b187
Commit
dea6b187
authored
May 11, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix audio streams incorrectly handled in properties dialog on first insert
parent
cd74627e
Pipeline
#19995
passed with stage
in 9 minutes and 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/mltcontroller/clippropertiescontroller.cpp
src/mltcontroller/clippropertiescontroller.cpp
+5
-1
No files found.
src/mltcontroller/clippropertiescontroller.cpp
View file @
dea6b187
...
@@ -609,7 +609,11 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
...
@@ -609,7 +609,11 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
QList
<
int
>
enabledStreams
=
m_controller
->
activeStreams
().
keys
();
QList
<
int
>
enabledStreams
=
m_controller
->
activeStreams
().
keys
();
QString
vix
=
m_sourceProperties
.
get
(
"audio_index"
);
QString
vix
=
m_sourceProperties
.
get
(
"audio_index"
);
m_originalProperties
.
insert
(
QStringLiteral
(
"audio_index"
),
vix
);
m_originalProperties
.
insert
(
QStringLiteral
(
"audio_index"
),
vix
);
m_originalProperties
.
insert
(
QStringLiteral
(
"kdenlive:active_streams"
),
m_sourceProperties
.
get
(
"kdenlive:active_streams"
));
QStringList
streamString
;
for
(
int
streamIx
:
enabledStreams
)
{
streamString
<<
QString
::
number
(
streamIx
);
}
m_originalProperties
.
insert
(
QStringLiteral
(
"kdenlive:active_streams"
),
streamString
.
join
(
QLatin1Char
(
';'
)));
hlay
=
new
QHBoxLayout
;
hlay
=
new
QHBoxLayout
;
KDualAction
*
ac
=
new
KDualAction
(
i18n
(
"Disable audio"
),
i18n
(
"Enable audio"
),
this
);
KDualAction
*
ac
=
new
KDualAction
(
i18n
(
"Disable audio"
),
i18n
(
"Enable audio"
),
this
);
...
...
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