- fix spacing issue
This commit is contained in:
parent
95a55a2551
commit
12189a94eb
@ -1018,14 +1018,14 @@ class ReactExoplayerView extends FrameLayout implements
|
||||
if (loadVideoStarted) {
|
||||
loadVideoStarted = false;
|
||||
if (audioTrackType != null) {
|
||||
setSelectedAudioTrack(audioTrackType, audioTrackValue);
|
||||
}
|
||||
if (videoTrackType != null) {
|
||||
setSelectedVideoTrack(videoTrackType, videoTrackValue);
|
||||
}
|
||||
if (textTrackType != null) {
|
||||
setSelectedTextTrack(textTrackType, textTrackValue);
|
||||
}
|
||||
setSelectedAudioTrack(audioTrackType, audioTrackValue);
|
||||
}
|
||||
if (videoTrackType != null) {
|
||||
setSelectedVideoTrack(videoTrackType, videoTrackValue);
|
||||
}
|
||||
if (textTrackType != null) {
|
||||
setSelectedTextTrack(textTrackType, textTrackValue);
|
||||
}
|
||||
Format videoFormat = player.getVideoFormat();
|
||||
int width = videoFormat != null ? videoFormat.width : 0;
|
||||
int height = videoFormat != null ? videoFormat.height : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user