[Android] VideoPlayer: remove unused variable

Thomas Guillem git at videolan.org
Mon Oct 12 15:46:20 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Oct 12 13:45:30 2015 +0200| [e19bd7fb32bd1a3a38755337d8277cc0ba18d8f1] | committer: Jean-Baptiste Kempf

VideoPlayer: remove unused variable

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index e562a81..2a573e6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -282,9 +282,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
      */
     private final ArrayList<String> mSubtitleSelectedFiles = new ArrayList<String>();
 
-    // Whether fallback from HW acceleration to SW decoding was done.
-    private boolean mDisabledHardwareAcceleration = false;
-
     /**
      * Flag to indicate whether the media should be paused once loaded
      * (e.g. lock screen, or to restore the pause state)
@@ -1515,7 +1512,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         .setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() {
             @Override
             public void onClick(DialogInterface dialog, int id) {
-                mDisabledHardwareAcceleration = true;
                 loadMedia();
             }
         })



More information about the Android mailing list