[Android] libvlc: replace static jni vout utils with java helpers

Thomas Guillem git at videolan.org
Thu Jun 25 19:10:26 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jun 25 14:15:22 2015 +0200| [2115e65c9115cf8962fe933209f032d8f4ecb6a4] | committer: Thomas Guillem

libvlc: replace static jni vout utils with java helpers

IVLCVout: setup MediaPlayer Vout (Video, Subtitles surfaces).

IAWindowNativeHandler: used by native vlc.

AWindow: implements IAWindowNativeHandler and IVLCVout and owned by a
MediaPlayer.

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

 libvlc/jni/Android.mk                              |    2 +-
 libvlc/jni/libvlcjni-mediaplayer.c                 |   37 +-
 libvlc/jni/libvlcjni.c                             |   70 +--
 libvlc/jni/vout.c                                  |  224 ----------
 libvlc/jni/vout.h                                  |   28 --
 libvlc/src/org/videolan/libvlc/AWindow.java        |  458 ++++++++++++++++++++
 .../org/videolan/libvlc/IAWindowNativeHandler.java |   97 +++++
 libvlc/src/org/videolan/libvlc/IVLCVout.java       |  123 ++++++
 libvlc/src/org/videolan/libvlc/IVideoPlayer.java   |   54 ---
 libvlc/src/org/videolan/libvlc/LibVLC.java         |   23 +-
 libvlc/src/org/videolan/libvlc/MediaPlayer.java    |   45 +-
 .../vlc/gui/video/VideoPlayerActivity.java         |  270 ++++--------
 12 files changed, 876 insertions(+), 555 deletions(-)

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


More information about the Android mailing list