[Android] PlaybackService: Pausable and seekable are true by default

Thomas Guillem git at videolan.org
Fri Oct 23 16:55:44 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Oct 23 16:55:21 2015 +0200| [a9d125def4ec845b62e74fa1e13eae7a987b7058] | committer: Thomas Guillem

PlaybackService: Pausable and seekable are true by default

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a9d125def4ec845b62e74fa1e13eae7a987b7058
---

 vlc-android/src/org/videolan/vlc/PlaybackService.java |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index d284b1b..d04f21b 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1636,6 +1636,8 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
         if (mw == null)
             return;
 
+        /* Pausable and seekable are true by default */
+        mPausable = mSeekable = true;
         final Media media = new Media(VLCInstance.get(), mw.getUri());
         VLCOptions.setMediaOptions(media, this, flags | mw.getFlags());
         media.setEventListener(mMediaListener);



More information about the Android mailing list