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
1767566f
Commit
1767566f
authored
Jan 22, 2022
by
Jean-Baptiste Mardelle
Browse files
When transoding variable fps clips, ensure we keep all streams
parent
c110185c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jobs/transcodetask.cpp
View file @
1767566f
...
...
@@ -197,6 +197,8 @@ void TranscodeTask::run()
}
// Only output error data
parameters
<<
QStringLiteral
(
"-v"
)
<<
QStringLiteral
(
"error"
);
// Make sure we keep the stream order
parameters
<<
QStringLiteral
(
"-sn"
)
<<
QStringLiteral
(
"-dn"
)
<<
QStringLiteral
(
"-map"
)
<<
QStringLiteral
(
"0"
);
QStringList
params
=
m_transcodeParams
.
split
(
QLatin1Char
(
' '
));
for
(
const
QString
&
s
:
qAsConst
(
params
))
{
QString
t
=
s
.
simplified
();
...
...
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