[Android] Tracks & Subtitles Bug : quick fix

Alexandre Perraud git at videolan.org
Fri Sep 28 17:52:59 CEST 2012


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Fri Sep 28 17:40:54 2012 +0200| [f60f29c7c0b45df4f4cac7a6f077e3d5390482cc] | committer: Jean-Baptiste Kempf

Tracks & Subtitles Bug : quick fix

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java       |    5 +++++
 1 file changed, 5 insertions(+)

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 cb52918..8ff3e06 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -211,6 +211,11 @@ public class VideoPlayerActivity extends Activity {
             @Override
             public void onScrollStarted() {
                 showOverlay(OVERLAY_INFINITE);
+                /*FIXME
+                 * The setTracksAndSubtitles function probably doesn't work in case of many many Tracks and Subtitles
+                 * Moreover, in a video flux, if Tracks & Subtitles change, they won't be updated
+                 */
+                setTracksAndSubtitles();
             }
 
             @Override



More information about the Android mailing list