[Android] Media: get Metas when created from MediaList

Thomas Guillem git at videolan.org
Wed Mar 11 16:44:55 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 11 16:43:51 2015 +0100| [60aa2279cff4e09c15231a3726d3ca772d00c136] | committer: Thomas Guillem

Media: get Metas when created from MediaList

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

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

diff --git a/libvlc/src/org/videolan/libvlc/Media.java b/libvlc/src/org/videolan/libvlc/Media.java
index e0ff78b..afa7c42 100644
--- a/libvlc/src/org/videolan/libvlc/Media.java
+++ b/libvlc/src/org/videolan/libvlc/Media.java
@@ -229,6 +229,7 @@ public final class Media extends VLCObject {
             throw new IllegalArgumentException("MediaList is not native");
         nativeNewFromMediaList(ml, index);
         mMrl = nativeGetMrl();
+        mNativeMetas = nativeGetMetas();
     }
 
     @Override



More information about the Android mailing list