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
Casanowow Life for love
VLC-Android
Commits
bce9ebe5
Commit
bce9ebe5
authored
Aug 21, 2017
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Thread mediaplayer restarting"
This reverts commit
67078588
.
parent
09894288
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
vlc-android/src/org/videolan/vlc/PlaybackService.java
vlc-android/src/org/videolan/vlc/PlaybackService.java
+2
-8
No files found.
vlc-android/src/org/videolan/vlc/PlaybackService.java
View file @
bce9ebe5
...
...
@@ -2527,14 +2527,8 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
public
void
restartMediaPlayer
()
{
stop
();
// Thread restart while MediaPlayer.stop() is threaded.
VLCApplication
.
runBackground
(
new
Runnable
()
{
@Override
public
void
run
()
{
mMediaPlayer
.
release
();
mMediaPlayer
=
newMediaPlayer
();
}
});
mMediaPlayer
.
release
();
mMediaPlayer
=
newMediaPlayer
();
/* TODO RESUME */
}
...
...
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