[Android] [PATCH] Fix a blantant error in documentation for getLengthFromLocation

Edward Wang edward.c.wang at compdigitec.com
Tue Mar 13 05:07:45 CET 2012


---
 vlc-android/src/org/videolan/vlc/LibVLC.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/LibVLC.java b/vlc-android/src/org/videolan/vlc/LibVLC.java
index 8ce3761..77a9e0f 100644
--- a/vlc-android/src/org/videolan/vlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/vlc/LibVLC.java
@@ -216,10 +216,10 @@ public class LibVLC {
     }
 
     /**
-     * Return true if there is a video track in the file
+     * Return the length of the stream, in milliseconds
      */
-    public long getLengthFromLocation(String filePath) {
-        return getLengthFromLocation(mLibVlcInstance, filePath);
+    public long getLengthFromLocation(String MRL) {
+        return getLengthFromLocation(mLibVlcInstance, MRL);
     }
 
     /**
@@ -359,9 +359,9 @@ public class LibVLC {
     public native int getSpuTracksCount();
 
     /**
-     * Return true if there is a video track in the file
+     * Return the length of the stream, in milliseconds
      */
-    private native long getLengthFromLocation(int instance, String filePath);
+    private native long getLengthFromLocation(int instance, String MRL);
 
     private native void setEventManager(EventManager eventManager);
 
-- 
1.7.5.4



More information about the Android mailing list