media/libraries
bachinger e5d1466731 Avoid rebuffering at the end of SSAI post-rolls
When the start position of a MediaPeriodInfo is equal or higher than the duration,
we set the start position to `duration - 1` to end on the last frame. With server
side inserted ad streams, this has the effect that we actually need to seek back to
the last content frame after a post-roll.

This is desirable when actually ending on that frame but produces a BUFFERING event
when transitioning from an SSAI stream with a post-roll to the next media item in
the playlist. This change sets the start position to the duration when we are
clipping the last content period of an SSAI stream that is played in a playlist.

PiperOrigin-RevId: 433445680
2022-03-09 12:22:02 +00:00
..
cast Remove deprecated Player track methods 2022-02-22 10:35:04 +00:00
common TrackSelectionOverride: Remove select-all-tracks constructor 2022-03-03 12:14:42 +00:00
database Reformat some javadoc 2022-02-18 14:54:02 +00:00
datasource Reformat some javadoc 2022-02-18 14:54:02 +00:00
datasource_cronet Reformat some javadoc 2022-02-18 14:54:02 +00:00
datasource_okhttp Reformat some javadoc 2022-02-18 14:54:02 +00:00
datasource_rtmp Reformat some javadoc 2022-02-18 14:54:02 +00:00
decoder Reformat some javadoc 2022-02-18 14:54:02 +00:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-17 15:00:31 +00:00
decoder_ffmpeg Depend on llvm-xy bin utils instead of GNU's binutils 2022-02-17 15:08:04 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-17 15:00:31 +00:00
decoder_opus Libopus Support For WebM DiscardPadding 2022-02-18 14:56:25 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-17 15:00:31 +00:00
exoplayer Avoid rebuffering at the end of SSAI post-rolls 2022-03-09 12:22:02 +00:00
exoplayer_dash Reformat some javadoc 2022-02-18 14:54:02 +00:00
exoplayer_hls Reformat some javadoc 2022-02-18 14:54:02 +00:00
exoplayer_ima Drop ads for which we don't have metadata when joining a live stream 2022-03-01 09:42:24 +00:00
exoplayer_rtsp Merge pull request #36 from ittiam-systems:rtp-h265 2022-02-18 16:41:12 +00:00
exoplayer_smoothstreaming Reformat some javadoc 2022-02-18 14:54:02 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor FMP4: Fix output of mixed v0 and v1 emsg samples 2022-03-01 09:35:58 +00:00
session Only COMMAND_PLAY starts the service in the foreground 2022-03-09 15:09:27 +00:00
test_data Clarify instructions for updating expected output bitmaps. 2022-02-23 16:17:57 +00:00
test_exoplayer_playback Extend support for audio spatialization in MediaCodecAudioRenderer 2022-01-25 18:59:43 +00:00
test_session_common Reformat some javadoc 2022-02-18 14:54:02 +00:00
test_session_current Misc cleanup in session tests 2022-03-04 14:24:42 +00:00
test_utils Simplify application of track overrides 2022-03-04 18:54:25 +00:00
test_utils_robolectric Fix the position of IntDefs to match TYPE_USE 2022-02-08 11:07:50 +00:00
transformer Use background thread for FrameEditor's OpenGL calls. 2022-03-09 15:12:28 +00:00
ui Rollback of aa22bc2dbe 2022-03-09 15:11:23 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00