[Android] LibVLC: Fix Mediaplayer.play() documentation

Geoffrey Métais git at videolan.org
Fri Apr 5 09:46:56 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr  5 09:46:24 2019 +0200| [2e78a8de1ff47caabadc684cac836397c8a2573f] | committer: Geoffrey Métais

LibVLC: Fix Mediaplayer.play() documentation

> https://code.videolan.org/videolan/vlc-android/commit/2e78a8de1ff47caabadc684cac836397c8a2573f
---

 libvlc/src/org/videolan/libvlc/MediaPlayer.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index 57f28134e..a61d2c74f 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -735,10 +735,10 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
 
     /**
      * Play a media via its mrl
-     * @param mrl MRL of the media to play
+     * @param path Path of the media file to play
      */
-    public void play(@NonNull String mrl) {
-        final Media media = new Media(mLibVLC, mrl);
+    public void play(@NonNull String path) {
+        final Media media = new Media(mLibVLC, path);
         play(media);
     }
 



More information about the Android mailing list