[Android] AudioService: always open media with NO_VIDEO flags
Thomas Guillem
git at videolan.org
Wed Apr 29 14:15:06 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Apr 29 09:38:28 2015 +0200| [4745e4428a59e0be7fe6fb9071a93509491916d1] | committer: Thomas Guillem
AudioService: always open media with NO_VIDEO flags
Since we don't have a surface, it's useless to try video.
If we switch to VideoPlayer, the video will be reactivated by setting the video
track to 0.
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4745e4428a59e0be7fe6fb9071a93509491916d1
---
.../org/videolan/vlc/MediaWrapperListPlayer.java | 19 +++++++++++++-----
.../src/org/videolan/vlc/audio/AudioService.java | 21 +++++++++-----------
.../videolan/vlc/audio/AudioServiceController.java | 14 +++++--------
.../vlc/gui/audio/AudioBrowserFragment.java | 4 ++--
.../vlc/gui/browser/BaseBrowserFragment.java | 2 +-
.../videolan/vlc/gui/video/VideoGridFragment.java | 2 +-
.../org/videolan/vlc/interfaces/IAudioService.aidl | 2 +-
vlc-android/src/org/videolan/vlc/util/Util.java | 2 +-
.../gui/tv/audioplayer/AudioPlayerActivity.java | 2 +-
9 files changed, 35 insertions(+), 33 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=4745e4428a59e0be7fe6fb9071a93509491916d1
More information about the Android
mailing list