[Android] VideoPlayerActivity: use symbolic constant when setting Hardware Acceleration
Felix Abecassis
git at videolan.org
Mon Feb 24 15:26:27 CET 2014
vlc-ports/android | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Mon Feb 24 15:25:20 2014 +0100| [ae30fa849a80dfdbd3e0aaf70b1df0ed3fc13612] | committer: Felix Abecassis
VideoPlayerActivity: use symbolic constant when setting Hardware Acceleration
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ae30fa849a80dfdbd3e0aaf70b1df0ed3fc13612
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 bc5a7ce..385a501 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -889,7 +889,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
public void onClick(DialogInterface dialog, int id) {
mDisabledHardwareAcceleration = true;
mPreviousHardwareAccelerationMode = mLibVLC.getHardwareAcceleration();
- mLibVLC.setHardwareAcceleration(0);
+ mLibVLC.setHardwareAcceleration(LibVLC.HW_ACCELERATION_DISABLED);
load();
}
})
More information about the Android
mailing list