Skip to content
GitLab
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
d854b4f2
Commit
d854b4f2
authored
Dec 30, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix extract zone.
CCBUG: 411970
parent
eb8580c2
Pipeline
#12686
passed with stage
in 20 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/jobs/cutclipjob.cpp
View file @
d854b4f2
...
...
@@ -137,8 +137,7 @@ bool CutClipJob::startJob()
}
QString
startString
=
locale
.
toString
(
m_in
.
seconds
());
QString
durationString
=
locale
.
toString
((
m_out
-
m_in
).
seconds
());
qDebug
()
<<
"// STARTING CUT JOB FROM: "
<<
m_in
.
seconds
()
<<
" - "
<<
m_out
.
seconds
()
<<
", DEST: "
<<
m_destUrl
;
QStringList
params
=
{
QStringLiteral
(
"-y"
),
QStringLiteral
(
"-stats"
),
QStringLiteral
(
"-i"
),
m_sourceUrl
,
QStringLiteral
(
"-v"
),
QStringLiteral
(
"error"
),
QStringLiteral
(
"-ss"
),
startString
,
QStringLiteral
(
"-t"
),
durationString
};
QStringList
params
=
{
QStringLiteral
(
"-y"
),
QStringLiteral
(
"-stats"
),
QStringLiteral
(
"-v"
),
QStringLiteral
(
"error"
),
QStringLiteral
(
"-ss"
),
startString
,
QStringLiteral
(
"-t"
),
durationString
,
QStringLiteral
(
"-i"
),
m_sourceUrl
};
params
<<
m_encodingParams
<<
m_destUrl
;
m_jobProcess
=
std
::
make_unique
<
QProcess
>
(
new
QProcess
);
connect
(
m_jobProcess
.
get
(),
&
QProcess
::
readyReadStandardError
,
this
,
&
CutClipJob
::
processLogInfo
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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