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

Thomas Guillem git at videolan.org
Fri Oct 23 17:09:51 CEST 2015


vlc-ports/android | branch: 1.6.x | Thomas Guillem <thomas at gllm.fr> | Fri Oct 23 16:55:21 2015 +0200| [a70c8b9a3ece5f5ede5fd415e7563299533e0b72] | committer: Jean-Baptiste Kempf

PlaybackService: Pausable and seekable are true by default

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

 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 446f629..c521a68 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1591,6 +1591,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