Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-Android
Commits
a88f93d6
Commit
a88f93d6
authored
Jun 09, 2016
by
Thomas Guillem
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VideoPlayer: fix seek at opening
The length can be negative during initialisation.
parent
1af07e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
...d/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+1
-1
No files found.
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
a88f93d6
...
...
@@ -2507,7 +2507,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
private
void
seek
(
long
position
,
float
length
)
{
mForcedTime
=
position
;
mLastTime
=
mService
.
getTime
();
if
(
length
=
=
0
f
)
if
(
length
<
=
0
f
)
mService
.
setTime
(
position
);
else
mService
.
setPosition
(
position
/
length
);
...
...
Thomas Guillem
@tguillem
mentioned in commit
58dd1111
·
Jun 09, 2016
mentioned in commit
58dd1111
mentioned in commit 58dd111110c4861c386e36a80f7c6dfb387e9e00
Toggle commit list
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