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
13c2297c
Commit
13c2297c
authored
Sep 06, 2019
by
Jean-Baptiste Mardelle
Browse files
Tentative fix for incorrect minus encoding in timeline speed.
Related to
#346
parent
280bf79a
Pipeline
#7483
passed with stage
in 20 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
13c2297c
...
...
@@ -618,7 +618,7 @@ std::shared_ptr<Mlt::Producer> ProjectClip::getTimelineProducer(int trackId, int
if
(
resource
.
isEmpty
()
||
resource
==
QLatin1String
(
"<producer>"
))
{
resource
=
m_service
;
}
QString
url
=
QString
(
"timewarp:%1:%2"
).
arg
(
locale
.
toS
tring
(
speed
)).
arg
(
resource
);
QString
url
=
QString
(
"timewarp:%1:%2"
).
arg
(
QString
::
fromStdString
(
std
::
to_s
tring
(
speed
))
)
.
arg
(
resource
);
warpProducer
.
reset
(
new
Mlt
::
Producer
(
*
originalProducer
()
->
profile
(),
url
.
toUtf8
().
constData
()));
qDebug
()
<<
"new producer: "
<<
url
;
qDebug
()
<<
"warp LENGTH before"
<<
warpProducer
->
get_length
();
...
...
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