media/libraries
tonihei b9790e69d7 Handle output format changes for empty sample streams correctly
When MediaCodecRenderer is given an empty sample stream, it puts
its output format change tracking in a bad state where we never
process future stream changes because we are waiting for a sample
that doesn't exist.

We can fix this by:
 - Looping the pending output stream changes to see if we processed
   more than one change at once (this fixes the tracking for empty
   sample streams that are not the first in the queue).
 - Checking if none of the previous streams queued any samples in
   onStreamChanged to handle this in the same way as the case
   where we already output all samples (this fixes the problem when
   the empty sample stream comes first in the queue).
 - Also calling onProcessedStreamChange for the case above, which
   was missing previously.

#minor-release

PiperOrigin-RevId: 519226637
2023-03-30 17:10:49 +00:00
..
cast Add COMMAND_RELEASE to set whether Player instances can be released 2023-03-30 17:09:28 +00:00
common Add COMMAND_RELEASE to set whether Player instances can be released 2023-03-30 17:09:28 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add missing @param tags 2023-03-07 11:49:24 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Remove redundant volatile. 2023-03-30 17:08:05 +00:00
exoplayer Handle output format changes for empty sample streams correctly 2023-03-30 17:10:49 +00:00
exoplayer_dash Make DefaultDashChunkSource more robust against empty segment timelines 2023-03-07 15:52:07 +00:00
exoplayer_hls Add missing @param tags 2023-03-07 11:49:24 +00:00
exoplayer_ima Skip played live ad media periods 2023-03-21 14:20:43 +00:00
exoplayer_rtsp Retry RTSP Setup with TCP if response with UDP is UnsupportedTransport 2023-03-30 17:04:07 +00:00
exoplayer_smoothstreaming Remove @see tags with <a> tags 2023-03-01 17:25:48 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Use FakeExtractorOutput in Mp4MuxerMetadataTest 2023-03-21 14:19:12 +00:00
session Add COMMAND_RELEASE to set whether Player instances can be released 2023-03-30 17:09:28 +00:00
test_data Add end to end test for edit box 2023-03-30 17:10:07 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Exclude test_session_{common,current} from API and Javadoc tests 2023-03-07 11:48:38 +00:00
test_session_current Add COMMAND_RELEASE to set whether Player instances can be released 2023-03-30 17:09:28 +00:00
test_utils Add RequiresApi annotations to some unittest methods 2023-03-21 14:24:10 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Update documentation of supported Compositions 2023-03-30 17:08:46 +00:00
ui Fix lint-baseline.xml for latest UI translations 2023-03-02 17:21:16 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00