[Android] Video player: Load downloaded subs when none set
Geoffrey Métais
git at videolan.org
Mon Feb 11 13:25:26 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 11 10:12:20 2019 +0100| [15282d90fd801ef1015736cc372985363ea1075a] | committer: Geoffrey Métais
Video player: Load downloaded subs when none set
> https://code.videolan.org/videolan/vlc-android/commit/15282d90fd801ef1015736cc372985363ea1075a
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
1 file changed, 1 insertion(+), 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 8ebb9aaa9..70e38fc28 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2631,7 +2631,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
public void onChanged(@Nullable List <ExternalSub> externalSubs) {
for (ExternalSub externalSub : externalSubs) {
if (!addedExternalSubs.contains(externalSub)) {
- mService.addSubtitleTrack(externalSub.getSubtitlePath(), false);
+ mService.addSubtitleTrack(externalSub.getSubtitlePath(), mCurrentSpuTrack == -2);
addedExternalSubs.add(externalSub);
}
}
More information about the Android
mailing list