[Android] Key mapping for audio/spu tracks
Geoffrey Métais
git at videolan.org
Tue Feb 24 15:12:30 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 24 15:12:03 2015 +0100| [8c17f8e7ce37ca369a891640db16d190bc47ca99] | committer: Geoffrey Métais
Key mapping for audio/spu tracks
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8c17f8e7ce37ca369a891640db16d190bc47ca99
---
.../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index c2d759f..fe8a0fc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -855,12 +855,14 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
else
doPlayPause();
return true;
- case KeyEvent.KEYCODE_V:
case KeyEvent.KEYCODE_O:
case KeyEvent.KEYCODE_BUTTON_Y:
showAdvancedOptions(mAdvOptions);
return true;
case KeyEvent.KEYCODE_B:
+ selectAudioTrack();
+ break;
+ case KeyEvent.KEYCODE_V:
case KeyEvent.KEYCODE_MEDIA_AUDIO_TRACK:
case KeyEvent.KEYCODE_BUTTON_B:
onAudioSubClick(mTracks);
More information about the Android
mailing list