Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
3d3e51ad
Commit
3d3e51ad
authored
Jul 16, 2009
by
Hugo Beauzee-Luyssen
Browse files
Solving a bug when setting position of a just preloaded clip.
parent
180cfffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Workflow/TrackWorkflow.cpp
View file @
3d3e51ad
...
...
@@ -152,6 +152,11 @@ unsigned char* TrackWorkflow::renderClip( ClipWorkflow* cw, qint64 currentF
//Otherwise, it will start directly.
cw
->
getStateLock
()
->
unlock
();
cw
->
startRender
();
if
(
needRepositioning
==
true
)
{
float
pos
=
(
(
float
)(
currentFrame
-
start
)
/
(
float
)(
cw
->
getClip
()
->
getLength
())
);
cw
->
setPosition
(
pos
);
}
}
else
if
(
cw
->
getState
()
==
ClipWorkflow
::
EndReached
)
{
...
...
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