Upgrade exoplayer to 2.11.4 (#2034)
This commit is contained in:
		| @@ -21,6 +21,7 @@ import com.google.android.exoplayer2.Timeline; | ||||
| import com.google.android.exoplayer2.source.TrackGroupArray; | ||||
| import com.google.android.exoplayer2.text.Cue; | ||||
| import com.google.android.exoplayer2.text.TextRenderer; | ||||
| import com.google.android.exoplayer2.text.TextOutput; | ||||
| import com.google.android.exoplayer2.trackselection.TrackSelectionArray; | ||||
| import com.google.android.exoplayer2.ui.SubtitleView; | ||||
|  | ||||
| @@ -200,7 +201,7 @@ public final class ExoPlayerView extends FrameLayout { | ||||
|     } | ||||
|  | ||||
|     private final class ComponentListener implements SimpleExoPlayer.VideoListener, | ||||
|             TextRenderer.Output, ExoPlayer.EventListener { | ||||
|             TextOutput, ExoPlayer.EventListener { | ||||
|  | ||||
|         // TextRenderer.Output implementation | ||||
|  | ||||
|   | ||||
| @@ -915,7 +915,7 @@ class ReactExoplayerView extends FrameLayout implements | ||||
|                 // Special case for decoder initialization failures. | ||||
|                 MediaCodecRenderer.DecoderInitializationException decoderInitializationException = | ||||
|                         (MediaCodecRenderer.DecoderInitializationException) cause; | ||||
|                 if (decoderInitializationException.decoderName == null) { | ||||
|                 if (decoderInitializationException.codecInfo.name == null) { | ||||
|                     if (decoderInitializationException.getCause() instanceof MediaCodecUtil.DecoderQueryException) { | ||||
|                         errorString = getResources().getString(R.string.error_querying_decoders); | ||||
|                     } else if (decoderInitializationException.secureDecoderRequired) { | ||||
| @@ -927,7 +927,7 @@ class ReactExoplayerView extends FrameLayout implements | ||||
|                     } | ||||
|                 } else { | ||||
|                     errorString = getResources().getString(R.string.error_instantiating_decoder, | ||||
|                             decoderInitializationException.decoderName); | ||||
|                             decoderInitializationException.codecInfo.name); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user