[Android] [PATCH 1/3] VideoPlayer: remove unused variable

Thomas Guillem thomas at gllm.fr
Mon Oct 12 13:45:30 CEST 2015


---
 vlc-android/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();
             }
         })
-- 
2.1.4



More information about the Android mailing list