[Android] VideoGrid: fix MediaItem treated as group

Thomas Guillem git at videolan.org
Tue Oct 6 14:15:37 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct  6 14:12:28 2015 +0200| [f025ab8d868bdf7cca67a78311c0b56fefbed3e6] | committer: Thomas Guillem

VideoGrid: fix MediaItem treated as group

Thanks to Sébastien Toque.

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index 65af88d..0929666 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -445,7 +445,7 @@ public class VideoGridFragment extends MediaBrowserFragment implements ISortable
                             mVideoAdapter.setNotifyOnChange(false);
                             mVideoAdapter.add(item.getMedia());
                             if (mThumbnailer != null)
-                                mThumbnailer.addJob(item);
+                                mThumbnailer.addJob(item.getMedia());
                         }
                     }
                     if (mReadyToDisplay)



More information about the Android mailing list