Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
31e4ef72
Commit
31e4ef72
authored
Feb 11, 2019
by
IOhannes m zmölnig
Browse files
filmDS: on load, always go to paused mode (or autoplay)
parent
27884764
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/filmDS/filmDS.cpp
View file @
31e4ef72
...
...
@@ -1203,12 +1203,12 @@ bool filmDS::open(const std::string&path, const gem::Properties&props)
player
->
setPosition
(
0
);
double
d
=
0.
;
if
(
props
.
get
(
"auto"
,
d
))
{
if
(
d
>-
1e8
&&
d
<
1e8
)
player
->
setPaused
(
true
);
else
{
player
->
setSpeed
(
d
);
player
->
play
(
);
}
}
if
(
d
>-
1e8
&&
d
<
1e8
)
player
->
setPaused
(
true
);
else
{
player
->
setSpeed
(
d
);
player
->
play
();
}
}
else
{
close
();
...
...
Write
Preview
Markdown
is supported
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