media/libraries
bachinger b066a0912e 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
(cherry picked from commit 2a6f893fba)
2023-05-26 13:25:07 +00:00
..
cast Add Builder for DeviceInfo 2023-04-24 11:33:13 +01:00
common Set video size to 0/0 when video render is disabled 2023-05-26 13:25:07 +00:00
container Add argument validation in Mp4LocationData 2023-05-25 10:44:07 +00:00
database Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource Remove two deprecated InvalidResponseCodeException constructors 2023-05-17 16:59:55 +00:00
datasource_cronet Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
datasource_okhttp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_rtmp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_ffmpeg Remove FfmpegVideoRenderer from 1.1.0 release 2023-05-18 18:04:45 +00:00
decoder_flac Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_opus Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
decoder_vp9 Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
effect Add a getter method for texture manager 2023-05-25 10:44:07 +00:00
exoplayer Set video size to 0/0 when video render is disabled 2023-05-26 13:25:07 +00:00
exoplayer_dash Allow mock(Random.class) to work with Java 17 2023-05-25 10:44:07 +00:00
exoplayer_hls media3: Capitalize "MIME" for MIME types. 2023-05-11 10:05:01 +00:00
exoplayer_ima Enable live DASH stream for IMA DAI 2023-05-17 16:59:56 +00:00
exoplayer_rtsp Move NAL unit related methods from common to container module 2023-05-18 16:07:51 +00:00
exoplayer_smoothstreaming Ensure DrmSessionManager.setPlayer() is called before prepare() 2023-04-24 11:40:19 +01:00
exoplayer_workmanager Remove deprecated WorkManagerScheduler constructor 2023-05-18 16:07:51 +00:00
extractor Move Mp4LocationData from extractor module to container module 2023-05-18 16:07:52 +00:00
muxer Move NAL unit related methods from common to container module 2023-05-18 16:07:51 +00:00
session Return full media item when SystemUI calls service on device boot time 2023-05-25 10:44:07 +00:00
test_data Add test file with metadata track 2023-05-17 16:59:54 +00:00
test_exoplayer_playback Update dependencies to latest versions 2023-04-26 15:49:57 +01:00
test_session_common Set video size to 0/0 when video render is disabled 2023-05-26 13:25:07 +00:00
test_session_current Set video size to 0/0 when video render is disabled 2023-05-26 13:25:07 +00:00
test_utils Set video size to 0/0 when video render is disabled 2023-05-26 13:25:07 +00:00
test_utils_robolectric End-to-end Robolectric playback test for audio capabilities 2023-05-12 10:06:47 +01:00
transformer Effect: Use callback to release texture 2023-05-25 10:44:07 +00:00
ui Rollback of 509830f38f 2023-05-17 16:59:54 +00:00
ui_leanback Use Util method for common UI play/pause button logic. 2023-04-26 15:52:50 +01:00