[Android] Fix an error in documentation for getLengthFromFile

Edward Wang git at videolan.org
Fri Mar 16 18:16:43 CET 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Mar 16 18:16:22 2012 +0100| [77e367310d87b2d78140d9d75935901e3e44c653] | committer: Jean-Baptiste Kempf

Fix an error in documentation for getLengthFromFile

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=77e367310d87b2d78140d9d75935901e3e44c653
---

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

diff --git a/vlc-android/src/org/videolan/vlc/LibVLC.java b/vlc-android/src/org/videolan/vlc/LibVLC.java
index e3f7682..01d59a5 100644
--- a/vlc-android/src/org/videolan/vlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/vlc/LibVLC.java
@@ -216,7 +216,7 @@ public class LibVLC {
     }
 
     /**
-     * Return true if there is a video track in the file
+     * Return the length of the stream, in milliseconds
      */
     public long getLengthFromFile(String filePath) {
         return getLengthFromFile(mLibVlcInstance, filePath);
@@ -359,7 +359,7 @@ 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 getLengthFromFile(int instance, String filePath);
 



More information about the Android mailing list