Commit 15282d90 authored by Geoffrey Métais's avatar Geoffrey Métais

Video player: Load downloaded subs when none set

parent 6d88027d
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment