[Android] PlaybackService: ensure the video track is enabled when video player is running
Thomas Guillem
git at videolan.org
Thu Nov 26 14:45:45 CET 2015
vlc-ports/android | branch: video_playlist | Thomas Guillem <thomas at gllm.fr> | Thu Nov 26 14:45:37 2015 +0100| [2266538e183daacdbc59b22cdf56311afb2c5f69] | committer: Thomas Guillem
PlaybackService: ensure the video track is enabled when video player is running
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2266538e183daacdbc59b22cdf56311afb2c5f69
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index bfd0a18..c857b70 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -728,6 +728,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
if (!canSwitchToVideo())
return false;
if (isVideoPlaying()) {//Player is already running, just send it an intent
+ mMediaPlayer.setVideoTrackEnabled(true);
LocalBroadcastManager.getInstance(this).sendBroadcast(
VideoPlayerActivity.getIntent(VideoPlayerActivity.PLAY_FROM_SERVICE,
getCurrentMediaWrapper(), false, mCurrentIndex));
More information about the Android
mailing list