[Android] LibVLC: Fix Mediaplayer.play() documentation
Geoffrey Métais
git at videolan.org
Fri Apr 5 09:47:20 CEST 2019
vlc-android | branch: 3.1.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr 5 09:46:24 2019 +0200| [6eb86f620d10113fa84a7c5e40294d30bb766f6a] | committer: Geoffrey Métais
LibVLC: Fix Mediaplayer.play() documentation
(cherry picked from commit 2e78a8de1ff47caabadc684cac836397c8a2573f)
> https://code.videolan.org/videolan/vlc-android/commit/6eb86f620d10113fa84a7c5e40294d30bb766f6a
---
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 8827a8f11..6d4588979 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