[Android] More

Jean-Baptiste Kempf git at videolan.org
Mon May 25 16:13:20 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 25 16:12:52 2015 +0200| [450aebea717f3b919a366800b8d2523b1ed0c972] | committer: Jean-Baptiste Kempf

More

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 762823e..dbbb525 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -342,7 +342,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVideoPlay
         }
 
         mLibVLC = VLCInstance.get();
-        mMediaPlayer = new MediaPlayer(mLibVLC);
+        mMediaPlayer = VLCInstance.getMainMediaPlayer();
 
         if (LibVlcUtil.isJellyBeanMR1OrLater()) {
             // Get the media router service (Miracast)



More information about the Android mailing list