media/libraries
bachinger 2a6f893fba Set video size to 0/0 when video render is disabled
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
2023-05-24 15:28:20 +01:00
..
cast Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
common Set video size to 0/0 when video render is disabled 2023-05-24 15:28:20 +01:00
container Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
database Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
datasource Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
datasource_cronet Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
datasource_okhttp Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
datasource_rtmp Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
decoder Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
decoder_av1 Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
decoder_ffmpeg Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
decoder_flac Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
decoder_opus Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
decoder_vp9 Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
effect Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
exoplayer Set video size to 0/0 when video render is disabled 2023-05-24 15:28:20 +01:00
exoplayer_dash Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
exoplayer_hls Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
exoplayer_ima Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
exoplayer_rtsp Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
exoplayer_smoothstreaming Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
exoplayer_workmanager Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
extractor Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
muxer Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
session Upgrade to Gradle 8.0 and Android Gradle Plugin 8.0.1 2023-05-19 17:24:28 +01:00
test_data Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Set video size to 0/0 when video render is disabled 2023-05-24 15:28:20 +01:00
test_session_current Set video size to 0/0 when video render is disabled 2023-05-24 15:28:20 +01:00
test_utils Set video size to 0/0 when video render is disabled 2023-05-24 15:28:20 +01:00
test_utils_robolectric Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
transformer Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
ui Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00
ui_leanback Add singleVariant publishing config to all published gradle files 2023-05-19 17:22:21 +01:00