[Android] VideoPlayer: refactor start/stop

Thomas Guillem git at videolan.org
Tue Mar 17 11:33:47 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 17 10:11:38 2015 +0100| [b3a7f483db0316d6b87c5f79bc93c57db1396a50] | committer: Thomas Guillem

VideoPlayer: refactor start/stop

 - Add stopPlayback that stop everything started in startPlayback.
 - VLC events are now initialized in startPlayback.
 - stopPlayback will stop and flush all VLC events and will also stop audio
   focus.
 - save playback state:  startPlayback/stopPlayback can't be called more than
   one time.

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

 .../vlc/gui/video/VideoPlayerActivity.java         |  165 ++++++++++----------
 1 file changed, 85 insertions(+), 80 deletions(-)

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


More information about the Android mailing list