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
bee7a8f6
Commit
bee7a8f6
authored
Jun 09, 2016
by
Geoffrey Métais
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Execute seek after Playing event
parent
267671dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vlc-android/src/org/videolan/vlc/PlaybackService.java
vlc-android/src/org/videolan/vlc/PlaybackService.java
+3
-3
No files found.
vlc-android/src/org/videolan/vlc/PlaybackService.java
View file @
bee7a8f6
...
...
@@ -595,6 +595,9 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
public
void
onEvent
(
MediaPlayer
.
Event
event
)
{
switch
(
event
.
type
)
{
case
MediaPlayer
.
Event
.
Playing
:
if
(
mSavedTime
!=
0
l
)
seek
(
mSavedTime
);
mSavedTime
=
0
l
;
Log
.
i
(
TAG
,
"MediaPlayer.Event.Playing"
);
executeUpdate
();
...
...
@@ -1740,9 +1743,6 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
changeAudioFocus
(
true
);
mMediaPlayer
.
setEventListener
(
mMediaPlayerListener
);
mMediaPlayer
.
play
();
if
(
mSavedTime
!=
0
l
)
seek
(
mSavedTime
);
mSavedTime
=
0
l
;
determinePrevAndNextIndices
();
if
(
mSettings
.
getBoolean
(
PreferencesFragment
.
PLAYBACK_HISTORY
,
true
))
...
...
Geoffrey Métais
@Dekans
mentioned in commit
27dd11df
·
Jun 09, 2016
mentioned in commit
27dd11df
mentioned in commit 27dd11dfaccdb19f894d1edf987b10c082097373
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