[Android] MediaWrapper: non parsed Media can have Metas

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:44:07 2015 +0100| [b9a49f0b73fd85bd96264c23cd0903df2e845c25] | committer: Thomas Guillem

MediaWrapper: non parsed Media can have Metas

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

 vlc-android/src/org/videolan/vlc/MediaWrapper.java |    2 --
 1 file changed, 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/MediaWrapper.java b/vlc-android/src/org/videolan/vlc/MediaWrapper.java
index 830c288..c633600 100644
--- a/vlc-android/src/org/videolan/vlc/MediaWrapper.java
+++ b/vlc-android/src/org/videolan/vlc/MediaWrapper.java
@@ -187,8 +187,6 @@ public class MediaWrapper implements Parcelable {
     }
 
     public void updateMeta(Media media) {
-        if (!media.isParsed())
-            return;
         mTitle = getMetaId(media, Meta.Title, true);
         mArtist = getMetaId(media, Meta.Artist, true);
         mAlbum = getMetaId(media, Meta.Album, true);



More information about the Android mailing list