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