[vlc-commits] android: rework AWindowHandler interface

Thomas Guillem git at videolan.org
Fri Jul 31 09:22:24 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jul 30 20:39:45 2015 +0200| [159a6f1eb0ccc6872a55ef888027800586c8494f] | committer: Thomas Guillem

android: rework AWindowHandler interface

Use the jsurface instead of the id for AWindowHandler_getANativeWindow and
AWindowHandler_setBuffersGeometry.

AWindowHandler_releaseSurface now release the jsurface and the ANativeWindow.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=159a6f1eb0ccc6872a55ef888027800586c8494f
---

 modules/codec/omxil/mediacodec.c              |   22 ++++-
 modules/codec/omxil/mediacodec.h              |    1 +
 modules/codec/omxil/mediacodec_jni.c          |    8 +-
 modules/codec/omxil/mediacodec_ndk.c          |    2 +-
 modules/codec/omxil/omxil.c                   |   11 ++-
 modules/video_output/android/android_window.c |   38 +++++----
 modules/video_output/android/utils.c          |  110 ++++++++++++++++---------
 modules/video_output/android/utils.h          |   11 +--
 8 files changed, 130 insertions(+), 73 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=159a6f1eb0ccc6872a55ef888027800586c8494f


More information about the vlc-commits mailing list