[Android] Always use getters to get LibVLC and MediaPlayer
Thomas Guillem
git at videolan.org
Wed May 27 12:37:57 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed May 27 12:14:52 2015 +0200| [65474167b786a6dc181e36ccde70cd9996332f52] | committer: Jean-Baptiste Kempf
Always use getters to get LibVLC and MediaPlayer
Because these object can be destroyed in between.
It's temporary, waiting for PlaybackService.
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=65474167b786a6dc181e36ccde70cd9996332f52
---
.../org/videolan/vlc/MediaWrapperListPlayer.java | 20 +--
.../src/org/videolan/vlc/audio/AudioService.java | 85 ++++-----
.../videolan/vlc/gui/audio/EqualizerFragment.java | 26 ++-
.../videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 25 +--
.../videolan/vlc/gui/dialogs/AudioDelayDialog.java | 5 +-
.../videolan/vlc/gui/dialogs/JumpToTimeDialog.java | 9 +-
.../videolan/vlc/gui/dialogs/PickTimeFragment.java | 2 -
.../videolan/vlc/gui/dialogs/SubsDelayDialog.java | 5 +-
.../vlc/gui/video/VideoPlayerActivity.java | 188 ++++++++++----------
9 files changed, 183 insertions(+), 182 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=65474167b786a6dc181e36ccde70cd9996332f52
More information about the Android
mailing list