Fix disabling subtitles not always working
This commit is contained in:
committed by
Niels van Velzen
parent
835d0522c4
commit
3b963c9b2f
@@ -74,7 +74,7 @@ public class PlaybackManager {
|
||||
request.setAudioStreamIndex(audioIdx);
|
||||
}
|
||||
Integer subIdx = options.getSubtitleStreamIndex();
|
||||
if (subIdx != null && subIdx >= 0) {
|
||||
if (subIdx != null) {
|
||||
request.setSubtitleStreamIndex(subIdx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user