[Android] LibVLC: update AWindow API

Thomas Guillem git at videolan.org
Wed Dec 21 15:13:40 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 21 13:59:11 2016 +0100| [9110d1edb1c40913f776438c88d2cc2e031911ad] | committer: Thomas Guillem

LibVLC: update AWindow API

The onNewWindowLayout method is renamed to onNewVideoLayout.

The OnNewVideoLayoutListener can only be set (one time) from attachViews(), see
both attachViews method comments.

Notify the native part is a OnNewVideoLayoutListener is present. If it's not
present, the "android-display" "vout display" module won't be used.

> https://code.videolan.org/videolan/vlc-android/commit/9110d1edb1c40913f776438c88d2cc2e031911ad
---

 libvlc/src/org/videolan/libvlc/AWindow.java        | 82 ++++++++++++++++------
 libvlc/src/org/videolan/libvlc/IVLCVout.java       | 37 ++++++++--
 .../src/org/videolan/vlc/PlaybackService.java      |  5 --
 .../org/videolan/vlc/gui/video/PopupManager.java   | 14 ++--
 .../vlc/gui/video/VideoPlayerActivity.java         |  6 +-
 5 files changed, 100 insertions(+), 44 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/9110d1edb1c40913f776438c88d2cc2e031911ad


More information about the Android mailing list