[Android] Thumbnailer: remove unused LibVLC instance

Thomas Guillem git at videolan.org
Wed Sep 9 11:07:37 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep  9 10:35:56 2015 +0200| [0f61126e8fed5f5e22de10ffba48805a8d177504] | committer: Thomas Guillem

Thumbnailer: remove unused LibVLC instance

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

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

diff --git a/vlc-android/src/org/videolan/vlc/Thumbnailer.java b/vlc-android/src/org/videolan/vlc/Thumbnailer.java
index feb6ca4..313ebea 100644
--- a/vlc-android/src/org/videolan/vlc/Thumbnailer.java
+++ b/vlc-android/src/org/videolan/vlc/Thumbnailer.java
@@ -30,7 +30,6 @@ import java.util.concurrent.locks.Condition;
 import java.util.concurrent.locks.Lock;
 import java.util.concurrent.locks.ReentrantLock;
 
-import org.videolan.libvlc.LibVLC;
 import org.videolan.libvlc.util.VLCUtil;
 import org.videolan.vlc.interfaces.IVideoBrowser;
 import org.videolan.vlc.util.BitmapUtil;
@@ -55,7 +54,6 @@ public class Thumbnailer implements Runnable {
     private final Condition notEmpty = lock.newCondition();
 
     protected Thread mThread;
-    private LibVLC mLibVlc;
     private int totalCount;
     private final String mPrefix;
 
@@ -66,8 +64,6 @@ public class Thumbnailer implements Runnable {
     }
 
     public void start(IVideoBrowser videoBrowser) {
-        mLibVlc = VLCInstance.get();
-
         isStopping = false;
         if (mThread == null || mThread.getState() == State.TERMINATED) {
             mVideoBrowser = new WeakReference<IVideoBrowser>(videoBrowser);



More information about the Android mailing list