[Android] Replace HW acceleration checkbox by a list allowing the user to choose which mode to use

Felix Abecassis git at videolan.org
Thu Jan 23 14:34:10 CET 2014


vlc-ports/android | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Tue Jan 21 19:18:55 2014 +0100| [51bd3fa52f5d7ba83264b406aca61284fa1a006a] | committer: Jean-Baptiste Kempf

Replace HW acceleration checkbox by a list allowing the user to choose which mode to use

There are currently 4 modes:
- Automatic: let VLC decide whether hardware acceleration should be used (default).
- Disabled: software decoding only.
- Decoding Acceleration: MediaCodec or OMX decoding.
- Full Acceleration: MediaCodec opaque direct rendering (decoding + display acceleration).

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

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

 vlc-android/jni/libvlcjni.c                        |   13 +++++++++++--
 vlc-android/res/values/strings.xml                 |   20 ++++++++++++++++++--
 vlc-android/res/xml/preferences.xml                |   11 +++++++----
 vlc-android/src/org/videolan/libvlc/LibVLC.java    |   18 +++++++++++++-----
 vlc-android/src/org/videolan/libvlc/MediaList.java |   20 ++++++++++----------
 vlc-android/src/org/videolan/vlc/Util.java         |    9 ++++++++-
 .../org/videolan/vlc/gui/PreferencesActivity.java  |    2 +-
 7 files changed, 68 insertions(+), 25 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=51bd3fa52f5d7ba83264b406aca61284fa1a006a


More information about the Android mailing list