[Android] Add updateViewpoint method

Geoffrey Métais git at videolan.org
Wed Nov 30 13:42:32 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 30 12:43:24 2016 +0100| [96ed32905499bac90557ded255e6461df042df6c] | committer: Geoffrey Métais

Add updateViewpoint method

> https://code.videolan.org/videolan/vlc-android/commit/96ed32905499bac90557ded255e6461df042df6c
---

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

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index c410405..812f059 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -2098,6 +2098,11 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
     }
 
     @MainThread
+    public boolean updateViewpoint(float yaw, float pitch, float roll, float fov, boolean absolute) {
+        return mMediaPlayer.updateViewpoint(yaw, pitch, roll, fov, absolute);
+    }
+
+    @MainThread
     public void saveTimeToSeek(long time) {
         mSavedTime = time;
     }



More information about the Android mailing list