diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 34243658..9da4fe0c 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -1020,10 +1020,10 @@ class ReactExoplayerView extends FrameLayout implements if (audioTrackType != null) { setSelectedAudioTrack(audioTrackType, audioTrackValue); } - if (videoTrackType != null) { + if (videoTrackType != null) { setSelectedVideoTrack(videoTrackType, videoTrackValue); } - if (textTrackType != null) { + if (textTrackType != null) { setSelectedTextTrack(textTrackType, textTrackValue); } Format videoFormat = player.getVideoFormat();