[Android] Media: fix typo: isParsed() returned always false

Thomas Guillem git at videolan.org
Wed Jan 21 14:54:13 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 21 14:53:07 2015 +0100| [9ced3dd48be577c067f02e71c3d84788f3d7cf5e] | committer: Thomas Guillem

Media: fix typo: isParsed() returned always false

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

 libvlc/src/org/videolan/libvlc/Media.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/Media.java b/libvlc/src/org/videolan/libvlc/Media.java
index 9ee9a82..e0ff78b 100644
--- a/libvlc/src/org/videolan/libvlc/Media.java
+++ b/libvlc/src/org/videolan/libvlc/Media.java
@@ -357,7 +357,7 @@ public final class Media extends VLCObject {
      * Returns true if the media is parsed
      */
     public synchronized boolean isParsed() {
-        return (mState & PARSE_STATUS_PARSED) != 0;
+        return (mParseStatus & PARSE_STATUS_PARSED) != 0;
     }
 
     /**



More information about the Android mailing list