[Android] Load local subs on playback starting
Geoffrey Métais
git at videolan.org
Tue May 24 15:40:08 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 24 15:08:32 2016 +0200| [d5878f7a59abd3d8a6d6a53c344d35682fa8da63] | committer: Geoffrey Métais
Load local subs on playback starting
> https://code.videolan.org/videolan/vlc-android/commit/d5878f7a59abd3d8a6d6a53c344d35682fa8da63
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
1 file changed, 1 insertion(+)
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 d24b05d..38ab29c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2958,6 +2958,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
catch (StreamCorruptedException e) {}
catch (IOException e) {}
}
+ prefsList.addAll(MediaDatabase.getInstance().getSubtitles(mUri.getPath()));
for(String x : prefsList){
if(!mSubtitleSelectedFiles.contains(x))
mSubtitleSelectedFiles.add(x);
More information about the Android
mailing list