media/libraries/exoplayer/src
tonihei 727645179b Send pending updates before adding discontinuity for error
When handling a playback error that originates from a future item in
the playlist, we added support for jumping to that item first,
ensuring the errors 'happen' for the right 'current item'.
See 79b688ef30.

However, when we add this new position discontinuity to the
playback state, there may already be other position discontinuities
pending from other parts of the code that executed before the
error. As we can't control that in this case (because it's part
of a generic try/catch block), we need to send any pending
updates first before handling the new change.

Issue: androidx/media#1483
#cherrypick
PiperOrigin-RevId: 646968309
2024-06-26 09:09:01 -07:00
..
androidTest Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
main Send pending updates before adding discontinuity for error 2024-06-26 09:09:01 -07:00
test Send pending updates before adding discontinuity for error 2024-06-26 09:09:01 -07:00