media/libraries
bachinger 5c498c3eca Keep aspect ratio of PlayerView when IDLE
When the video renderer is disabled, the video size is set to 0/0
and sent to listeners. The `PlayerView` potentially still has the last frame
displayed when the player is stopped or an error occurs. This may have the
effect that the frame is displayed distorted.

Not changing the aspect ratio when the video size arrives when the player is IDLE
avoids the problem. In the case when playback starts again and the renderes is
enabled, another video size is sent to the listener.

#minor-release

PiperOrigin-RevId: 534860889
(cherry picked from commit 6469fffd8f)
2023-05-26 13:25:10 +00:00
..
cast Remove deprecated onSeekProcessed 2023-05-26 13:25:09 +00:00
common Make MediaItem.AdsConfiguration bundleable 2023-05-26 13:25:09 +00:00
container Add support for adding capture FPS via transformer 2023-05-26 13:25:09 +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 Tidy TextureManager javadoc 2023-05-26 13:25:10 +00:00
exoplayer Remove deprecated onSeekProcessed 2023-05-26 13:25:09 +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 Fix seeking bug in opus 2023-05-26 13:25:08 +00:00
muxer Move NAL unit related methods from common to container module 2023-05-18 16:07:51 +00:00
session Improve handling of adding items to empty playlist in MediaController 2023-05-26 13:25:08 +00:00
test_data Add support for adding capture FPS via transformer 2023-05-26 13:25:09 +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 Improve handling of adding items to empty playlist in MediaController 2023-05-26 13:25:08 +00:00
test_utils Remove deprecated ExoPlayer.setHandleWakeLock(boolean) 2023-05-26 13:25:08 +00:00
test_utils_robolectric Move MdtaMetadataEntry class into container module 2023-05-26 13:25:07 +00:00
transformer Add support for adding capture FPS via transformer 2023-05-26 13:25:09 +00:00
ui Keep aspect ratio of PlayerView when IDLE 2023-05-26 13:25:10 +00:00
ui_leanback Use Util method for common UI play/pause button logic. 2023-04-26 15:52:50 +01:00