[Android] Move numerous calls from LibVLC to MediaPlayer

Jean-Baptiste Kempf git at videolan.org
Mon May 25 16:13:20 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 25 15:41:38 2015 +0200| [de56bfa0123566279096bce54969742c3ba2d36e] | committer: Jean-Baptiste Kempf

Move numerous calls from LibVLC to MediaPlayer

This changes a lot of code, so it keeps a kind of singleton MediaPlayer
to not break much more of it.

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

 libvlc/jni/libvlcjni-mediaplayer.c                 |   64 ++++----
 libvlc/jni/libvlcjni-track.c                       |   34 ++--
 libvlc/src/org/videolan/libvlc/LibVLC.java         |  157 +-----------------
 libvlc/src/org/videolan/libvlc/MediaPlayer.java    |  167 ++++++++++++++++++++
 libvlc/src/org/videolan/libvlc/MediaWrapper.java   |   19 +--
 .../src/org/videolan/libvlc/MediaWrapperList.java  |    3 +-
 .../org/videolan/vlc/MediaWrapperListPlayer.java   |   17 +-
 .../videolan/vlc/RemoteControlClientReceiver.java  |    5 +-
 .../src/org/videolan/vlc/audio/AudioService.java   |   75 ++++-----
 .../videolan/vlc/gui/dialogs/AdvOptionsDialog.java |   21 +--
 .../videolan/vlc/gui/dialogs/AudioDelayDialog.java |    4 +-
 .../videolan/vlc/gui/dialogs/JumpToTimeDialog.java |    8 +-
 .../videolan/vlc/gui/dialogs/PickTimeFragment.java |    5 +-
 .../videolan/vlc/gui/dialogs/SubsDelayDialog.java  |    4 +-
 .../vlc/gui/dialogs/TimePickerDialogFragment.java  |    5 +-
 .../vlc/gui/video/VideoPlayerActivity.java         |  151 +++++++++---------
 .../src/org/videolan/vlc/util/VLCInstance.java     |    8 +
 17 files changed, 392 insertions(+), 355 deletions(-)

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


More information about the Android mailing list