[Android] VideoPlayer: Surface size and color is now set from jni

Thomas Guillem git at videolan.org
Sat Nov 15 12:42:01 CET 2014


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 14 17:10:26 2014 +0100| [4ba706d30bd11915ba2e2886ab6962db84bad22f] | committer: Jean-Baptiste Kempf

VideoPlayer: Surface size and color is now set from jni

jni_ConfigureSurface calls VideoPlayerActivity.configureSurface.

configureSurface is only used for gingerbread and before.
After gingerbread, there are fully native way to configure the surface.

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

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

 libvlc/jni/vout.c                                  |   23 ++++
 libvlc/src/org/videolan/libvlc/IVideoPlayer.java   |   15 +++
 .../vlc/gui/video/VideoPlayerActivity.java         |  122 +++++++++++++-------
 3 files changed, 117 insertions(+), 43 deletions(-)

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


More information about the Android mailing list