media/libraries
christosts 5056dfaa2b Regression fix of ExoPlayer.setVideoEffects()
7e65cce967 introduced a regression on ExoPlayer.setVideoEffects()
where there is flash on the screen after the first few frames are shown.

Before 7e65cce967, the first frames of the content are missed, until
MediaCodecVideoRenderer sends the onVideoSizeChanged() callback. The
first frame is processed but not shown, the onVideoSizeChanged() is
triggered and the renderer receives a video output resolution message as
a response from the UI.

7e65cce967 fixed the missed first frames by setting a surface on the
CompositingVideoSinkProvider before the provider is initialized, and as
as result:
- the first frames are rendered
- the MediaCodecVideoRenderer sends the the onVideoSizeChanged() after
  frames are shown
- the UI sends a video output resolution change
- the MediaCodecVideoRenderer updates the CompositingVideoSinkProvider
  which causes the flash.

The underlying problem is with onVideoSizeChanged() not being
triggered early enough, before the first frame is shown.

Because the flashing is a regression, this commit is reverting
7e65cce967 but keeps the test that was added as ignored, so that the
test is re-enabled as soon as we address the underlying issue.

PiperOrigin-RevId: 597814013
2024-01-12 05:20:46 -08:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Bump media3 version to 1.2.1 and update RELEASENOTES 2024-01-09 06:39:56 -08:00
container Remove empty container/src/androidTest directory 2023-12-11 10:41:51 -08:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Move HttpEngineDataSource to the DataSource library. 2023-12-20 12:10:36 -08:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
decoder_ffmpeg Fix the check for clang complier in FFmpeg build file 2023-12-21 06:35:37 -08:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Map VORBIS channel layout to Android layout 2023-12-05 03:01:32 -08:00
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
effect Regression fix of ExoPlayer.setVideoEffects() 2024-01-12 05:20:46 -08:00
exoplayer Regression fix of ExoPlayer.setVideoEffects() 2024-01-12 05:20:46 -08:00
exoplayer_dash Crop and pass thumbnails to ImageOutput 2024-01-11 07:45:50 -08:00
exoplayer_hls Plumb SubtitleParser.Factory into WebvttExtractor 2024-01-11 11:13:08 -08:00
exoplayer_ima Set MIME type from IMA SDK on ads MediaItem 2023-11-14 09:12:07 -08:00
exoplayer_rtsp Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-17 06:35:19 -07:00
exoplayer_smoothstreaming Plumb SubtitleParser.Factory into FragmentedMp4Extractor 2024-01-09 08:33:27 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Plumb SubtitleParser.Factory into TsExtractor 2024-01-11 09:35:22 -08:00
muxer Add comments for skipping input files in Mp4Muxer tests 2024-01-03 03:50:46 -08:00
session Return null if media notification controller Future is not done 2024-01-04 07:35:54 -08:00
test_data Extension to Gaussian Blur: support changing blur over time 2024-01-12 04:53:02 -08:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_session_current Fix broadcasting notifyChildrenChanged for legacy controllers 2023-12-14 05:20:39 -08:00
test_utils Implement fragmented MP4 (fMP4) in the Mp4Muxer 2023-12-29 03:39:38 -08:00
test_utils_robolectric Fix handling of multiple HEVC tracks in JPEG motion photos 2023-12-11 08:31:13 -08:00
transformer Trim Opt: Calculate duration based on sample rate from audio format 2024-01-11 10:28:14 -08:00
ui Fix forward and rewind button texts cut off with material theme applied 2023-12-21 16:28:38 +01:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00