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
d2bb75f4
Commit
d2bb75f4
authored
Jun 14, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix playlist duration in bin
parent
83ab6e7b
Pipeline
#4325
passed with stage
in 16 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/jobs/loadjob.cpp
View file @
d2bb75f4
...
@@ -292,8 +292,9 @@ bool LoadJob::startJob()
...
@@ -292,8 +292,9 @@ bool LoadJob::startJob()
if
(
ok
)
{
if
(
ok
)
{
qDebug
()
<<
" / / / FIXING OFFSET DATA: "
<<
offset
;
qDebug
()
<<
" / / / FIXING OFFSET DATA: "
<<
offset
;
offset
=
m_producer
->
get_playtime
()
-
offset
-
1
;
offset
=
m_producer
->
get_playtime
()
-
offset
-
1
;
m_producer
->
parent
().
set
(
"out"
,
offset
-
1
);
m_producer
->
set
(
"out"
,
offset
-
1
);
m_producer
->
parent
().
set
(
"length"
,
offset
);
m_producer
->
set
(
"length"
,
offset
);
m_producer
->
set
(
"kdenlive:duration"
,
offset
);
}
}
}
else
{
}
else
{
qDebug
()
<<
"// NO OFFSET DAT FOUND
\n\n
"
;
qDebug
()
<<
"// NO OFFSET DAT FOUND
\n\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