media/libraries/test_utils
Googler 7956c80f73 Rollback of 2a6f893fba
*** Original commit ***

BEGIN_PUBLIC
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

***

PiperOrigin-RevId: 537938947
2023-06-06 18:06:46 +00:00
..
src Rollback of 2a6f893fba 2023-06-06 18:06:46 +00:00
build.gradle Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
README.md Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00

Test utils module

Provides utility classes for media unit and instrumentation tests.