In terms of MCVR with a `VideoRendererEventListener`, the video size is set to 0/0 right after `onVideoDisabled()` is called and is set to the actual size as soon as the video size is known after 'onVideoEnabled()`. For ExoPlayer and in terms of the `Player` interface, `Player.getVideoSize()` returns a video size of 0/0 when `Player.getCurrentTracks()` does not support `C.TRACK_TYPE_VIDEO`. This is ensured by the masking behavior of `ExoPlayerImpl` that sets an empty track selection result when the playing period changes due to a seek or timeline removal. When transitioning playback from a video media item to the next, or when seeking within the same video media item, the renderer is not disabled. #minor-release PiperOrigin-RevId: 533479600 (cherry picked from commit f38cbad98558145b3b89f1bb57b25f3105ea36f9)
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| truth | Loading commit data... | |
| Action.java | Loading commit data... | |
| ActionSchedule.java | Loading commit data... | |
| AdditionalFailureInfo.java | Loading commit data... | |
| AssetContentProvider.java | Loading commit data... | |
| BitmapPixelTestUtil.java | Loading commit data... | |
| CacheAsserts.java | Loading commit data... | |
| CapturingAudioSink.java | Loading commit data... | |
| CapturingRenderersFactory.java | Loading commit data... | |
| DataSourceContractTest.java | Loading commit data... | |
| DecodeOneFrameUtil.java | Loading commit data... | |
| DecoderCountersUtil.java | Loading commit data... | |
| DefaultRenderersFactoryAsserts.java | Loading commit data... | |
| DownloadBuilder.java | Loading commit data... | |
| DummyMainThread.java | Loading commit data... | |
| DumpFileAsserts.java | Loading commit data... | |
| DumpableFormat.java | Loading commit data... | |
| DumpableMp4Box.java | Loading commit data... | |
| Dumper.java | Loading commit data... | |
| ExoHostedTest.java | Loading commit data... | |
| ExoPlayerTestRunner.java | Loading commit data... | |
| ExtractorAsserts.java | Loading commit data... | |
| FailOnCloseDataSink.java | Loading commit data... | |
| FakeAdaptiveDataSet.java | Loading commit data... | |
| FakeAdaptiveMediaPeriod.java | Loading commit data... | |
| FakeAdaptiveMediaSource.java | Loading commit data... | |
| FakeAudioRenderer.java | Loading commit data... | |
| FakeChunkSource.java | Loading commit data... | |
| FakeClock.java | Loading commit data... | |
| FakeCryptoConfig.java | Loading commit data... | |
| FakeDataSet.java | Loading commit data... | |
| FakeDataSource.java | Loading commit data... | |
| FakeExoMediaDrm.java | Loading commit data... | |
| FakeExtractorInput.java | Loading commit data... | |
| FakeExtractorOutput.java | Loading commit data... | |
| FakeMediaChunk.java | Loading commit data... | |
| FakeMediaChunkIterator.java | Loading commit data... | |
| FakeMediaClockRenderer.java | Loading commit data... | |
| FakeMediaPeriod.java | Loading commit data... | |
| FakeMediaSource.java | Loading commit data... | |
| FakeMediaSourceFactory.java | Loading commit data... | |
| FakeMetadataEntry.java | Loading commit data... | |
| FakeMultiPeriodLiveTimeline.java | Loading commit data... | |
| FakeRenderer.java | Loading commit data... | |
| FakeSampleStream.java | Loading commit data... | |
| FakeShuffleOrder.java | Loading commit data... | |
| FakeTimeline.java | Loading commit data... | |
| FakeTrackOutput.java | Loading commit data... | |
| FakeTrackSelection.java | Loading commit data... | |
| FakeTrackSelector.java | Loading commit data... | |
| FakeVideoRenderer.java | Loading commit data... | |
| HostActivity.java | Loading commit data... | |
| HttpDataSourceTestEnv.java | Loading commit data... | |
| MediaPeriodAsserts.java | Loading commit data... | |
| MediaSourceTestRunner.java | Loading commit data... | |
| OggFileAudioBufferSink.java | Loading commit data... | |
| StubExoPlayer.java | Loading commit data... | |
| StubPlayer.java | Loading commit data... | |
| TestExoPlayerBuilder.java | Loading commit data... | |
| TestUtil.java | Loading commit data... | |
| TimelineAsserts.java | Loading commit data... | |
| VideoFrameProcessorTestRunner.java | Loading commit data... | |
| WebServerDispatcher.java | Loading commit data... | |
| package-info.java | Loading commit data... |